recorder/etc/ot-recorder.service

24 lines
474 B
SYSTEMD
Raw Normal View History

2015-09-15 04:36:59 -07:00
# /etc/systemd/system/ot-recorder.service
# systemctl enable ot-recorder
# systemctl start ot-recorder
# journalctl -f
[Unit]
Description=OwnTracks Recorder
[Service]
Type=simple
# User=
Group=owntracks
WorkingDirectory=/
Environment='OTR_HOST=127.0.0.1'
# Environment='OTR_USER=xxx'
ExecStart=/usr/local/sbin/ot-recorder "owntracks/#"
Restart=always
RestartSec=15
StandardOutput=null
StandardError=syslog
SyslogIdentifier=ot-recorder
[Install]
WantedBy=multi-user.target