twitterbot.service 404 B

123456789101112131415
  1. [Unit]
  2. Description=GoCQHTTP Twitter bot
  3. Requires=gocqhttp.service
  4. Requires=playwright.service
  5. [Service]
  6. WorkingDirectory=%h/gocqhttp-twitter-bot
  7. ExecStart=bash -l "%h/gocqhttp-twitter-bot/bin/twitterbot" config.json
  8. #StandardOutput=append:%h/gocqhttp-twitter-bot/twitterbot.log
  9. #StandardError=append:%h/gocqhttp-twitter-bot/twitterbot.log
  10. Restart=always
  11. RestartSec=2s
  12. [Install]
  13. WantedBy=default.target