fermentord/build/debian/fermentord.service
Søren Rasmussen 500efc0da8
All checks were successful
continuous-integration/drone/push Build is passing
Packaging
2022-07-24 10:01:28 +02:00

27 lines
619 B
Desktop File

[Unit]
Description=Fermentor daemon
Wants=network-online.target local-fs.target
After=network-online.target local-fs.target
ConditionPathExists=!/etc/fermentord_not_to_be_run
#ConditionKernelCommandLine=dtoverlay=w1-gpio,gpiopin=4,pullup=0
ConditionPathExists=/etc/fermentord.toml
[Service]
ExecStart=/usr/bin/fermentord
ExecReload=/bin/kill -HUP $MAINPID
User=root
Group=root
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