diff --git a/loggers b/loggers index 2341e96..2dc292f 100644 --- a/loggers +++ b/loggers @@ -3,7 +3,7 @@ ### BEGIN INIT INFO # Provides: loggers -# Required-Start: $remote_fs $syslog usbMount +# Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 @@ -22,8 +22,8 @@ case "$1" in # run application you want to start #python /home/poconsole/src/dataLogger/alarmLogger.py & #python /home/poconsole/src/dataLogger/dataLogger.py & - /usr/bin/python /home/poconsole/src/dataLogger/alarmLogger.py > /dev/null 2>&1 & echo $! > "/root/alarmLogger.pid" - /usr/bin/python /home/poconsole/src/dataLogger/dataLogger.py > /dev/null 2>&1 & echo $! > "/root/dataLogger.pid" + /usr/bin/python /root/src/dataLogger/alarmLogger.py > /dev/null 2>&1 & echo $! > "/root/alarmLogger.pid" + /usr/bin/python /root/src/dataLogger/dataLogger.py > /dev/null 2>&1 & echo $! > "/root/dataLogger.pid" ;; stop) @@ -40,4 +40,4 @@ case "$1" in ;; esac -exit 0 +exit 0 diff --git a/setup.sh b/setup.sh index f97ed42..f9bd3c9 100644 --- a/setup.sh +++ b/setup.sh @@ -118,9 +118,9 @@ cd ~/setup # sudo service isc-dhcp-server start cd ~/src -git clone https://patrickjmcd@bitbucket.org/poconsole/datalogger.git -git clone https://patrickjmcd@bitbucket.org/poconsole/www.git -git clone https://patrickjmcd@bitbucket.org/poconsole/filemanager.git +git clone http://patrickjmcd@gateway.poconsole.io:7990/scm/poconsole/datalogger.git +git clone http://patrickjmcd@gateway.poconsole.io:7990/scm/poconsole/www.git +git clone http://patrickjmcd@gateway.poconsole.io:7990/scm/poconsole/filemanager.git cd ~/src/www npm install diff --git a/website b/website index fa29ec5..24affe8 100644 --- a/website +++ b/website @@ -23,7 +23,7 @@ case "$1" in then export NODE_ENV=production export PATH=/usr/local/bin:$PATH - forever start /home/poconsole/src/www/app.js > /dev/null + forever start /root/src/www/app.js > /dev/null fi ;; stop) @@ -37,5 +37,4 @@ case "$1" in ;; esac -exit 0 - +exit 0