add systemd service files
collect configiguration together update README
This commit is contained in:
11
README.md
11
README.md
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user