not working
This commit is contained in:
parent
0b22714c14
commit
afb1cff572
26
satisfactory.service
Normal file
26
satisfactory.service
Normal 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/
|
||||
Loading…
x
Reference in New Issue
Block a user