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