From 1cc76707494be8d9d41eb2cc5698b08693f3c06b Mon Sep 17 00:00:00 2001 From: FKD13 <44001949+FKD13@users.noreply.github.com> Date: Mon, 12 Aug 2024 22:02:39 +0200 Subject: [PATCH 1/2] add run and restart scripts --- restart.sh | 3 +++ run-forever.sh | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100755 restart.sh create mode 100755 run-forever.sh diff --git a/restart.sh b/restart.sh new file mode 100755 index 0000000..6eeb715 --- /dev/null +++ b/restart.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +pkill scc \ No newline at end of file diff --git a/run-forever.sh b/run-forever.sh new file mode 100755 index 0000000..ac8816f --- /dev/null +++ b/run-forever.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +while ./css +do + echo 'css has quit! restarting in 1 second' +done \ No newline at end of file From 1bb72f3f004b92baf179dfe0e770370b5f721c89 Mon Sep 17 00:00:00 2001 From: FKD13 <44001949+FKD13@users.noreply.github.com> Date: Mon, 12 Aug 2024 22:06:31 +0200 Subject: [PATCH 2/2] s/css/scc --- run-forever.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run-forever.sh b/run-forever.sh index ac8816f..99c4cdb 100755 --- a/run-forever.sh +++ b/run-forever.sh @@ -1,6 +1,6 @@ #!/bin/bash -while ./css +while ./scc do - echo 'css has quit! restarting in 1 second' + echo 'scc has quit! restarting in 1 second' done \ No newline at end of file