Delete run
This commit is contained in:
parent
4ab8b1c2ec
commit
62e1b50c83
@ -1,14 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
function handle_signal {
|
|
||||||
PID=$!
|
|
||||||
echo "received signal. PID is ${PID}"
|
|
||||||
kill -s SIGHUP $PID
|
|
||||||
}
|
|
||||||
|
|
||||||
trap "handle_signal" SIGINT SIGTERM SIGHUP
|
|
||||||
|
|
||||||
echo "starting Nadeko"
|
|
||||||
cd /root/NadekoBot
|
|
||||||
mono NadekoBot.exe & wait
|
|
||||||
echo "stopping Nadeko"
|
|
Loading…
Reference in New Issue
Block a user