Skip to content
Snippets Groups Projects
Commit 247ff103 authored by ketominer's avatar ketominer
Browse files

Merge branch 'nodl-dojo-dev' into 'nodl-dojo'

minor fix in install script

See merge request !24
parents ed72eee1 38ab0d7d
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,8 @@ do_stop()
# 1 if daemon was already stopped
# 2 if daemon could not be stopped
# other if a failure occurred
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --name $NAME.sh
pkill -f $NAME.sh
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --exec $DAEMON
RETVAL="$?"
[ "$RETVAL" = 2 ] && return 2
# Wait for children to finish too if this is a daemon that forks
......
......@@ -60,7 +60,8 @@ do_stop()
# 1 if daemon was already stopped
# 2 if daemon could not be stopped
# other if a failure occurred
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --name $NAME.sh
pkill -f $NAME.sh
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --exec $DAEMON
RETVAL="$?"
[ "$RETVAL" = 2 ] && return 2
# Wait for children to finish too if this is a daemon that forks
......
......@@ -24,6 +24,8 @@ pgrep -u whirlpool -f java && whirlpool_run=1
pgrep -u btc-rpc-explorer -f node && btc_rpc_explorer_run=1
pgrep supervisor && btcpay_run=1
mkdir -p /opt/tmp
mkdir -p /etc/nodl/
cp etc/nodl-config.php /etc/nodl/config.php
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment