mirror of
https://github.com/cjfranko/NTP-Timeturner.git
synced 2025-11-08 18:32:02 +00:00
18 lines
452 B
Desktop File
18 lines
452 B
Desktop File
[Unit]
|
|
Description=NTP TimeTurner Daemon
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
# The 'timeturner daemon' command starts the background process.
|
|
# It requires 'config.yml' and the 'static/' web assets directory
|
|
# to be present in the WorkingDirectory.
|
|
ExecStart=/opt/timeturner/timeturner daemon
|
|
WorkingDirectory=/opt/timeturner
|
|
PIDFile=/opt/timeturner/ntp_timeturner.pid
|
|
Restart=always
|
|
User=root
|
|
Group=root
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|