ircabot.service 406 B

1234567891011121314151617
  1. [Unit]
  2. Description=IRCaBot logger
  3. After=network.target
  4. [Service]
  5. Type=idle
  6. # Change the USERNAME to your user, with the rights of which the bot will work:
  7. User=USERNAME
  8. # Change paths to actual (like a /srv/ircabot or something):
  9. ExecStart=/path/to/ircabot -c /path/to/ircabot.conf
  10. # To run on non-GUI system:
  11. Environment=QT_QPA_PLATFORM=offscreen
  12. Restart=on-failure
  13. [Install]
  14. WantedBy=multi-user.target