mirror of
https://github.com/owntracks/recorder.git
synced 2026-05-19 03:46:34 +00:00
30 lines
651 B
Desktop File
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
|