gocqhttp.service 298 B

12345678910111213
  1. [Unit]
  2. Description=GoCQHTTP QQ bot kickstarter
  3. [Service]
  4. WorkingDirectory=%h/gocqhttp-twitter-bot
  5. ExecStart=%h/gocqhttp-twitter-bot/go-cqhttp
  6. ExecStartPost=/bin/sleep 15
  7. #StandardError=append:%h/gocqhttp-twitter-bot/go-cqhttp.log
  8. Restart=always
  9. RestartSec=2s
  10. [Install]
  11. WantedBy=multi-user.target