From 634d45b289a7c58aff3a0a4d3a16907a22216d20 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Thu, 15 Oct 2015 07:06:32 +0200 Subject: [PATCH] add 'devstart' command for init script --- bin/brisk-init.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/brisk-init.sh b/bin/brisk-init.sh index 77e27bc..f816cb4 100755 --- a/bin/brisk-init.sh +++ b/bin/brisk-init.sh @@ -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'"'" ;; -- 2.17.1