fermentord/fermentord.service

21 lines
428 B
Desktop File

[Unit]
Description=Fermentor daemon
After=network.target
ConditionPathExists=!/etc/fermentord_not_to_be_run
[Service]
ExecStart=/usr/local/bin/fermentord
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
TimeoutStopSec=15
Restart=always
RestartSec=300
Type=simple
RestrictRealtime=false
CPUSchedulingPriority=rr
CPUSchedulingPriority=49
IOSchedulingClass=realtime
IOSchedulingPriority=3
[Install]
WantedBy=multi-user.target