mirror of
https://github.com/owntracks/recorder.git
synced 2026-05-15 03:26:36 +00:00
24 lines
484 B
Desktop File
24 lines
484 B
Desktop File
# /etc/systemd/system/ot-recorder.service
|
|
# systemctl enable ot-recorder
|
|
# systemctl start ot-recorder
|
|
# systemctl --system daemon-reload
|
|
# journalctl -f
|
|
[Unit]
|
|
Description=OwnTracks Recorder
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=owntracks
|
|
WorkingDirectory=/
|
|
# deprecated: use config file
|
|
# Environment='OTR_USER=xxx'
|
|
ExecStart=/usr/local/sbin/ot-recorder
|
|
Restart=always
|
|
RestartSec=60
|
|
StandardOutput=null
|
|
StandardError=syslog
|
|
SyslogIdentifier=ot-recorder
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|