17 lines
305 B
SYSTEMD
17 lines
305 B
SYSTEMD
|
[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
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|