Uses start.sh instead of script variable

This commit is contained in:
Patrick McDonagh
2016-12-05 12:50:46 -06:00
parent 29c406eaa3
commit 912c8b17cf
2 changed files with 4 additions and 1 deletions

View File

@@ -8,7 +8,7 @@
# Description: Runs the Henry Pump datalogger
### END INIT INFO
SCRIPT="python /root/datalogger/dataLogger.py"
SCRIPT=/root/datalogger/start.sh
RUNAS=poconsole
PIDFILE=/root/datalogger.pid

3
start.sh Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
python /root/datalogger/dataLogger.py