fermentord/fermentord.service

22 lines
428 B
SYSTEMD
Raw Normal View History

2022-03-05 23:40:13 +00:00
[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
2022-03-10 07:22:59 +00:00
RestrictRealtime=false
CPUSchedulingPriority=rr
CPUSchedulingPriority=49
IOSchedulingClass=realtime
IOSchedulingPriority=3
2022-03-05 23:40:13 +00:00
[Install]
WantedBy=multi-user.target