Sync with official service.sh but also tidy (#8)

Signed-off-by: Dakkshesh <beakthoven@gmail.com>
This commit is contained in:
Chris Renshaw
2025-08-06 21:01:52 +05:30
committed by Dakkshesh
parent 48b94e8670
commit 0ae8be899d
+5 -8
View File
@@ -4,11 +4,8 @@ MODDIR=${0%/*}
cd $MODDIR cd $MODDIR
( while true; do
while [ true ]; do ./daemon "$MODDIR" || exit 1
$MODDIR/daemon "$MODDIR" # ensure keystore initialized
if [ $? -ne 0 ]; then sleep 2
exit 1 done &
fi
done
) &