diff --git a/factorio-site.service b/factorio-site.service index 735250c..dcf62af 100644 --- a/factorio-site.service +++ b/factorio-site.service @@ -2,7 +2,7 @@ Description=factorio-site [Service] -ExecStart=/opt/factorio-site/server +ExecStart=/bin/sh -c "/opt/factorio-site/serverm --password=`cat /opt/factorio-rcon-password`" WorkingDirectory=/opt/factorio-site Restart=always