Let's howl at the moon!
Message @RantimatorBot on Telegram.
Find your howl on rants.tsak.net
Copy .env.sample
to .env
and set the following environment variables:
TOKEN=<TELEGRAM BOT TOKEN>
ADDRESS=<LISTEN ADDRESS WITH PORT>
DEBUG=1 # Enables debug mode if DEBUG is set to a non-empty value
go build
./rantimator
See rantimator.service systemd service definition.
To install (tested on Ubuntu 16.04):
adduser rantimator
- copy
rantimator
binary as well as.env
file to/home/rantimator
- place systemd service script in
/lib/systemd/system/
sudo systemctl enable rantimator.service
sudo systemctl start rantimator
sudo journalctl -f -u rantimator
The last command will show if the service was started.