Merge branch 'update-systemd-service' of framasky/masto-image-bot into master

This commit is contained in:
Dryusdan 2019-01-06 15:07:31 +01:00 committed by Gitea
commit 995370b7ea
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
```