Last active
May 13, 2023 15:30
-
-
Save Drac346/a3733a365637937549856d87aa1337ec to your computer and use it in GitHub Desktop.
7 days 2 die SystemD configuration
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
#place in /etc/systemd/system/7d2d.service | |
# systemctl start 7d2d.service | |
# systemctl enable 7d2d.service #autostarts the server | |
# systemctl stop 7d2d.service | |
[Unit] | |
Descritpion=7D2D Headless Server | |
After=network.target | |
After=systemd-user-sessions.service | |
After=network-online.target | |
[Service] | |
Type=simple | |
User=steam | |
ExecStart=/home/steam/7daysVanilla/7DaysToDieServer.x86_64 -configfile=/home/steam/7daysVanilla/serverconfig.xml -logfile 7DaysToDie_Data/output_log.txt $@ | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment