Created
April 17, 2018 17:41
-
-
Save sammy8806/e72af0a06466b17d111fff96d70b5963 to your computer and use it in GitHub Desktop.
Example systemd.service file for a java based ts3 bot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=TS3 Server-Query Bot | |
After=network.target | |
[Service] | |
ExecStart=/usr/bin/java -jar /srv/ts3bot/adminbot.jar | |
RestartSec=5 | |
User=ts3bot | |
Restart=always | |
WorkingDirectory=/srv/ts3bot | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment