Browse Source

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

tags/v1.6rc1
Dryusdan Gitea 1 year ago
parent
commit
995370b7ea
1 changed files with 10 additions and 0 deletions
  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