add 'devstart' command for init script
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Thu, 15 Oct 2015 05:06:32 +0000 (07:06 +0200)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Thu, 15 Oct 2015 05:06:32 +0000 (07:06 +0200)
bin/brisk-init.sh

index 77e27bc..f816cb4 100755 (executable)
@@ -47,6 +47,10 @@ case "$1" in
         fi
         ;;
 
+    devstart)
+        su - ${BUSER} -c 'cd '"$BPATH"'/spush ; ./brisk-spush.php'
+        ;;
+
     start)
         su - ${BUSER} -c 'cd '"$BPATH"'/spush ; screen -d -m -S '"${SSUFF}"' bash -c '"'"'while [ 1 ]; do cd . ; ./brisk-spush.php \| grep "IN LOOP" ; if [ $? -eq 0 ]; then break ; fi ; done'"'"
         ;;