add systemd service files

collect configiguration together
update README
This commit is contained in:
2020-01-15 14:48:44 +01:00
parent d31c1ae72d
commit 41861da83e
6 changed files with 68 additions and 48 deletions

View File

@@ -2,6 +2,17 @@
- libxml2-dev libonig-dev
- chrome / chromium browser
# Install
```sh
go build .
mv fbBot /usr/local/bin/
cp contrib/etc /
systemctl daemon-reload
systemctl enable fbBot.service
systemctl start fbBot.service
```
# Config
The Config File `config.yaml` should be located in /etc/fbbot.