Skip to content

Instantly share code, notes, and snippets.

@xrobau
Created December 5, 2015 02:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xrobau/8007db53c62ac83d7ec7 to your computer and use it in GitHub Desktop.
Save xrobau/8007db53c62ac83d7ec7 to your computer and use it in GitHub Desktop.
[Unit]
Description=Bungeecord Service
After=remote-fs.target
[Service]
Type=forking
User=bungee
ExecStart=/usr/bin/screen -dmS bungeecord /usr/local/bin/bungeecord.sh
ExecStop=/usr/bin/screen -S bungeecord -X quit
Restart=always
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment