From 9dbc9befdeeda7fe32ce80b842bc6ed2c69abc9c Mon Sep 17 00:00:00 2001 From: Domen Tabernik Date: Fri, 8 Mar 2019 20:00:17 +0000 Subject: [PATCH] Fixed missing paths and wrong service name --- install_daemon.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install_daemon.sh b/install_daemon.sh index 118d186..a3c26d2 100755 --- a/install_daemon.sh +++ b/install_daemon.sh @@ -10,7 +10,7 @@ Type=simple User=root Group=root WorkingDirectory=`pwd` -ExecStart=python `pwd`/superfans_gpu_controller.py +ExecStart=/usr/bin/python `pwd`/superfans_gpu_controller.py StandardOutput=syslog StandardError=syslog @@ -23,7 +23,7 @@ systemctl enable superfans-gpu-controller.service systemctl daemon-reload echo "Enabled start at system startup" -systemctl enable myservice +systemctl enable superfans-gpu-controller echo "Starting the service" systemctl start superfans-gpu-controller