Update systemd documentation

This commit is contained in:
Luc Didry 2019-01-05 23:30:59 +01:00
parent 0063745171
commit 8aef6ae903
No known key found for this signature in database
GPG Key ID: EA868E12D0257E3C
1 changed files with 10 additions and 0 deletions

View File

@ -73,4 +73,14 @@ User=masto-bot
TimeoutSec=15
WorkingDirectory=/home/masto-bot/
ExecStart=/usr/bin/python3 bot.py --stream --source=local
[Install]
WantedBy=multi-user.target
```
Then do
```
systemctl daemon-reload
systemctl enable bot.service
systemctl start bot.service
```