Some systems (like Ubuntu 18) don't have the kill command in /usr/bin

This commit is contained in:
Jamie Cameron 2022-07-02 13:14:56 -07:00
parent 02e0d43f4e
commit e4b4fbcc6a

View File

@ -4,8 +4,8 @@ Description=Webmin server daemon
[Service]
Environment="PERLLIB=WEBMIN_LIBDIR"
ExecStart=WEBMIN_LIBDIR/miniserv.pl WEBMIN_CONFIG/miniserv.conf
ExecStop=/usr/bin/kill $MAINPID
ExecReload=/usr/bin/kill -USR1 $MAINPID
ExecStop=/bin/kill $MAINPID
ExecReload=/bin/kill -USR1 $MAINPID
PIDFile=WEBMIN_VAR/miniserv.pid
Type=forking
Restart=always