Run code from /root/src
This commit is contained in:
6
loggers
6
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)
|
||||
|
||||
6
setup.sh
6
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
|
||||
|
||||
Reference in New Issue
Block a user