Correction of CI through the shell script

This commit is contained in:
Florian
2018-06-06 21:49:34 +02:00
parent 6024a4baa1
commit b46dcb1bda
2 changed files with 4 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ start()
echo 'Service already running\n'
else
echo "Starting service $NAME"
cd $DAEMON_HOME
nohup 2>/dev/null java -jar $DAEMON &>/dev/null &
expr $! - 1 > $PIDFILE
echo "Service started [`cat $PIDFILE`]\n"
@@ -74,4 +75,4 @@ case "$1" in
exit 3
;;
esac
exit 0
exit 0

View File

@@ -24,6 +24,7 @@ start()
echo 'Service already running\n'
else
echo "Starting service $NAME"
cd $DAEMON_HOME
nohup 2>/dev/null java -jar $DAEMON &>/dev/null &
expr $! - 1 > $PIDFILE
echo "Service started [`cat $PIDFILE`]\n"
@@ -74,4 +75,4 @@ case "$1" in
exit 3
;;
esac
exit 0
exit 0