his.js

Telegram bot for /his/ threads.
git clone git://git.knutsen.co/his.js
Log | Files | Refs | LICENSE

stop.sh (129B)


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

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

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

echo "Bot killed ($PID)."