Fixed missing paths and wrong service name

This commit is contained in:
Domen Tabernik 2019-03-08 20:00:17 +00:00
parent 7fc6954dce
commit 9dbc9befde
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ Type=simple
User=root User=root
Group=root Group=root
WorkingDirectory=`pwd` WorkingDirectory=`pwd`
ExecStart=python `pwd`/superfans_gpu_controller.py ExecStart=/usr/bin/python `pwd`/superfans_gpu_controller.py
StandardOutput=syslog StandardOutput=syslog
StandardError=syslog StandardError=syslog
@ -23,7 +23,7 @@ systemctl enable superfans-gpu-controller.service
systemctl daemon-reload systemctl daemon-reload
echo "Enabled start at system startup" echo "Enabled start at system startup"
systemctl enable myservice systemctl enable superfans-gpu-controller
echo "Starting the service" echo "Starting the service"
systemctl start superfans-gpu-controller systemctl start superfans-gpu-controller