diff --git a/mbpfan.service b/mbpfan.service index a4b61e8..5ac729a 100644 --- a/mbpfan.service +++ b/mbpfan.service @@ -7,8 +7,9 @@ After=sysinit.target Type=simple ExecStart=/usr/sbin/mbpfan -f ExecReload=/usr/bin/kill -HUP $MAINPID -PIDFile=/var/run/mbpfan.pid +PIDFile=/run/mbpfan.pid Restart=always +RestartSec=1 [Install] WantedBy=sysinit.target