Skip to content

Instantly share code, notes, and snippets.

@davidstrauss
Created August 2, 2016 04:13
Show Gist options
  • Save davidstrauss/d0bb8c23045e18c5329aa15f3e287476 to your computer and use it in GitHub Desktop.
Save davidstrauss/d0bb8c23045e18c5329aa15f3e287476 to your computer and use it in GitHub Desktop.
[Unit]
Description=OpenRA dedicated server
After=ssh.service
[Service]
ExecStart=/usr/lib/openra/my-dedicated.sh
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
WorkingDirectory=/usr/lib/openra
User=openra
[Install]
Alias=openra.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment