don't hang there
This commit is contained in:
parent
70997545da
commit
bd6b3fc46e
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ func_stop() {
|
||||||
|
|
||||||
func_start() {
|
func_start() {
|
||||||
echo -n "Starting $NAME ... "
|
echo -n "Starting $NAME ... "
|
||||||
su - $USERNAME -c "$CMD $OPTIONS"
|
su - $USERNAME -c "$CMD $OPTIONS" &
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
if [ "$(ps aux | grep $PROCESSNAME | grep -v grep)" ]; then
|
if [ "$(ps aux | grep $PROCESSNAME | grep -v grep)" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue