Last active 5 hours ago

user333's Avatar user333 revised this gist 5 hours ago. Go to revision

1 file changed, 7 insertions

stop-inspircd.sh(file created)

@@ -0,0 +1,7 @@
1 + #!/bin/sh
2 +
3 + FILE="$(dirname $(readlink -f $0))/data/inspircd.pid"
4 + [ ! -f "$FILE" ] && return 1
5 +
6 + kill $(cat "$FILE")
7 + rm "$FILE"
Newer Older