From 9c5be5456a9bfe63c13374a57f27e75fa18feffe Mon Sep 17 00:00:00 2001 From: Yamakaky Date: Sun, 29 Jun 2014 17:32:46 +0200 Subject: [PATCH] More general systemd service file. --- mbpfan.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mbpfan.service b/mbpfan.service index a649f08..f2983ea 100644 --- a/mbpfan.service +++ b/mbpfan.service @@ -5,9 +5,9 @@ After=sysinit.target [Service] Type=simple -ExecStart=/usr/bin/mbpfan -fv +ExecStart=/usr/sbin/mbpfan -fv ExecReload=/usr/bin/kill -HUP $MAINPID -PIDFile=/run/mbpfan.pid +PIDFile=/var/run/mbpfan.pid Restart=always [Install]