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"