Simp-O-Matic

Dumb Discord bot in TS.
git clone git://git.knutsen.co/Simp-O-Matic
Log | Files | Refs | README | LICENSE

stop.sh (102B)


1
2
3
4
5
6
#!/bin/sh

[ ! -f ./.pid ] && { echo "No PID file found."; exit 1; }

PID="$(cat ./.pid)"
kill "$PID"