Skip to content

Instantly share code, notes, and snippets.

@mikoim
Last active December 2, 2022 14:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikoim/e2f9b2a7dc6785d98b94 to your computer and use it in GitHub Desktop.
Save mikoim/e2f9b2a7dc6785d98b94 to your computer and use it in GitHub Desktop.
systemd service
[Unit]
Description=7 Days to Die
After=network.target
[Service]
User=steam
Group=steam
Type=simple
WorkingDirectory=/home/steam/7dtd
ExecStart=/home/steam/7dtd/startserver.sh -configfile=serverconfig.xml
[Install]
WantedBy=multi-user.target
[Unit]
Description=Counter-Strike: Global Offensive
After=network.target
[Service]
User=steam
Group=steam
Type=simple
WorkingDirectory=/home/steam/csgo_ds
ExecStart=/home/steam/csgo_ds/run.sh
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment