#13 Better systemd service instructions

已合并
Dryusdan 1年前 将 1 次代码提交从 framasky/masto-image-bot:update-systemd-service合并至 master
  1. +10
    -0
      README.md

+ 10
- 0
README.md 查看文件

@@ -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
```

正在加载...
取消
保存