not working

This commit is contained in:
godot 2024-12-08 19:59:14 +01:00
parent 0b22714c14
commit afb1cff572

26
satisfactory.service Normal file
View File

@ -0,0 +1,26 @@
[Unit]
Description=Satisfactory Server
After=network.target
[Install]
WantedBy=multi-user.target
[Service]
ExecStart=/usr/bin/screen -DmS minecraft ./SatisfactoryDedicatedServer/FactoryServer.sh
Restart=on-failure
RestartSec=60s
ProtectControlGroups=true
ProtectHome=true
ProtectKernelModules=true
ProtectKernelTunables=true
ProtectSystem=full
PrivateDevices=true
PrivateUsers=true
User=minecraft
Group=minecraft
WorkingDirectory=/home/steam/