scripts/start-watchdog.sh hinzugefügt
This commit is contained in:
8
scripts/start-watchdog.sh
Normal file
8
scripts/start-watchdog.sh
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
killpid="$(pidof IcarusServer.exe)"
|
||||||
|
while true
|
||||||
|
do
|
||||||
|
tail --pid=$killpid -f /dev/null
|
||||||
|
kill "$(pidof tail)"
|
||||||
|
exit 0
|
||||||
|
done
|
Reference in New Issue
Block a user