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