Fixed missing paths and wrong service name
This commit is contained in:
parent
7fc6954dce
commit
9dbc9befde
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue