Files
recorder/etc/ot-recorder.service
2016-05-31 15:58:23 +02:00

30 lines
651 B
Desktop File

# /etc/systemd/system/ot-recorder.service
# systemctl enable ot-recorder
# systemctl start ot-recorder
# systemctl --system daemon-reload
# journalctl -f
#
# Centos
# install -m644 /usr/share/doc/ot-recorder/ot-recorder.service \
# /usr/lib/systemd/system/ot-recorder.service
# systemctl --system daemon-reload
#
[Unit]
Description=OwnTracks Recorder
[Service]
Type=simple
User=owntracks
WorkingDirectory=/
# deprecated: use config file
# Environment='OTR_USER=xxx'
ExecStart=/usr/sbin/ot-recorder
Restart=always
RestartSec=60
StandardOutput=null
StandardError=syslog
SyslogIdentifier=ot-recorder
[Install]
WantedBy=multi-user.target