ircabot.service 339 B

1234567891011121314
  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. Restart=on-failure
  11. [Install]
  12. WantedBy=multi-user.target