Merge b092f9ff7b
into 64b0f60368
This commit is contained in:
commit
2ccfe16d9b
5
daemonise.sh
Normal file
5
daemonise.sh
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
cd /usr/local/phpci/phpci
|
||||||
|
PATH=/usr/local/phpci:$PATH
|
||||||
|
nohup php ./daemonise phpci:daemonise >/dev/null 2>&1 & echo $! > /usr/local/phpci/phpci.daemonise.pid
|
3
daemonise_stop.sh
Normal file
3
daemonise_stop.sh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
kill `ps -T \`cat /usr/local/phpci/phpci.daemonise.pid\` | sed 's/^ *\([0-9]*\).*/\1/' | tr '\n' ' '`
|
Loading…
Reference in a new issue