Author: Paolo Lulli <paolo@lulli.net>
Start service - no nohup
script/service.sh | 3 ++-
diff --git a/script/service.sh b/script/service.sh index 59427f277de062ce6230bdd946c9cf3a18814b9d..f723a8593339d6c3a4461cb32a1755b138b17e78 100755 --- a/script/service.sh +++ b/script/service.sh @@ -36,5 +36,6 @@ test -f $PIDFILE && echo PID file exist test -f $PIDFILE && exit 1 export GIN_MODE=release -nohup ${EXECUTABLE} ${instance} & echo $! > $PIDFILE +#nohup ${EXECUTABLE} ${instance} & echo $! > $PIDFILE +${EXECUTABLE} ${instance} & echo $! > $PIDFILE