diff --git a/pi/powerpi b/pi/powerpi index e77c38b..4de7800 100755 --- a/pi/powerpi +++ b/pi/powerpi @@ -11,7 +11,7 @@ ### END INIT INFO # Change the next 3 lines to suit where you install your script and what you want to call it -DIR=/srv/powerpi +DIR=/srv/powerpi/pi DAEMON=$DIR/power.py DAEMON_NAME=PowerPi diff --git a/pi/powerpi.service b/pi/powerpi.service index 3d48848..84d13b0 100644 --- a/pi/powerpi.service +++ b/pi/powerpi.service @@ -6,7 +6,7 @@ Requires=network-online.target [Service] Type=simple -ExecStart=/srv/powerpi/power.py +ExecStart=/srv/powerpi/pi/power.py [Install] WantedBy=multi-user.target