#13 Better systemd service instructions

Unito
Dryusdan ha unito 1 commit da framasky/masto-image-bot:update-systemd-service a master 1 anno fa
  1. +10
    -0
      README.md

+ 10
- 0
README.md Vedi 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…
Annulla
Salva