summarylogtreecommitdiffstats
path: root/factorio-init.service
diff options
context:
space:
mode:
authorVöjket2021-05-08 18:10:31 -0400
committerVöjket2021-05-08 18:10:31 -0400
commit030140e377ecf331eb9074e28ce5193f68dbb297 (patch)
tree1d916c1fe0bd2464b789f18df202092ad22f8b9c /factorio-init.service
parentd3d4ac1a37bf02c496988426ca85ebcdbc45d412 (diff)
downloadaur-factorio-init.tar.gz
Updated to 3.1.0, modified configs significantly
Diffstat (limited to 'factorio-init.service')
-rw-r--r--factorio-init.service9
1 files changed, 5 insertions, 4 deletions
diff --git a/factorio-init.service b/factorio-init.service
index c270d26664c..b1c86578b74 100644
--- a/factorio-init.service
+++ b/factorio-init.service
@@ -1,14 +1,15 @@
[Unit]
-Description=Factorio Server Init Script
-After=network.target
+Description=Factorio Server
+Wants=network-online.target
+After=network.target network-online.target
[Service]
User=factorio
-Group=games
+Group=factorio
# We will store a pid file in your ${WRITE_DIR}/server.pid
# Adjust if you change the write dir of your server
-PIDFile=/var/lib/factorio/.factorio/server.pid
+PIDFile=/usr/share/factorio-init/server.pid
Type=forking
TimeoutStartSec=20