Update systemd documentation

This commit is contained in:
Luc Didry 2019-01-05 23:30:59 +01:00
parent 0063745171
commit 8aef6ae903
Failed to generate hash of commit

View file

@ -73,4 +73,14 @@ User=masto-bot
TimeoutSec=15 TimeoutSec=15
WorkingDirectory=/home/masto-bot/ WorkingDirectory=/home/masto-bot/
ExecStart=/usr/bin/python3 bot.py --stream --source=local 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
``` ```