#13 Better systemd service instructions

Merged
Dryusdan merged 1 commits from framasky/masto-image-bot:update-systemd-service into master 1 year ago
  1. +10
    -0
      README.md

+ 10
- 0
README.md 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
```

Loading…
Cancel
Save