-
Copy the file
sinusbot.service
to/lib/systemd/system/sinusbot.service
-
Adjust the following placeholders to your installation:
placeholder description example YOUR_USER Your user who starts the bot sinusbot YOURPATH_TO_THE_BOT_BINARY Your path to the SinusBot binary /opt/sinusbot/sinusbot YOURPATH_TO_THE_BOT_DIRECTORY Your path to the SinusBot install directory /opt/sinusbot -
Reload systemd:
systemctl daemon-reload
-
Enable autostart (optional)
systemctl enable sinusbot
-
Start the sinusbot:
systemctl start sinusbot