still failing screen for some reason, trying this...
This commit is contained in:
parent
ec94a02f06
commit
9b9ae82a30
@ -7,7 +7,7 @@ QORTAL_DIR=~/qortal
|
||||
if command -v screen &> /dev/null; then
|
||||
echo "Screen is installed, running script in a screen session..."
|
||||
SCRIPT_NAME="restart-qortal-every-2-hours.sh"
|
||||
cp "$0" "$QORTAL_DIR/$SCRIPT_NAME"
|
||||
cp "$(dirname "$BASH_SOURCE")/$SCRIPT_NAME" "$QORTAL_DIR/$SCRIPT_NAME"
|
||||
screen -S qortal_restart -dm bash "$QORTAL_DIR/$SCRIPT_NAME"
|
||||
exit 0
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user