Sync with official service.sh but also tidy (#8)
Signed-off-by: Dakkshesh <beakthoven@gmail.com>
This commit is contained in:
+5
-8
@@ -4,11 +4,8 @@ MODDIR=${0%/*}
|
||||
|
||||
cd $MODDIR
|
||||
|
||||
(
|
||||
while [ true ]; do
|
||||
$MODDIR/daemon "$MODDIR"
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
) &
|
||||
while true; do
|
||||
./daemon "$MODDIR" || exit 1
|
||||
# ensure keystore initialized
|
||||
sleep 2
|
||||
done &
|
||||
|
||||
Reference in New Issue
Block a user