Created
November 27, 2017 13:21
-
-
Save w7rus/b486fb7206e9087558831bb813e9d0ef to your computer and use it in GitHub Desktop.
This file contains 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=Sinusbot, the Teamspeak 3 and Discord music bot. This will load sinusbot inside screen | |
After=syslog.target network.target | |
[Service] | |
User=sinusbot | |
Group=sinusbot | |
ExecStartPre=/bin/rm -f /tmp/.sinusbot.lock | |
ExecStopPost=/bin/rm -f /tmp/.sinusbot.lock | |
ExecStart=/usr/bin/screen -DmS sinusbot /opt/sinusbot/sinusbot | |
WorkingDirectory=/opt/sinusbot | |
Type=simple | |
KillSignal=2 | |
SendSIGKILL=yes | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment