From 27f6618075485541625d37bc543dea10bb3835f9 Mon Sep 17 00:00:00 2001 From: Chandler Swift Date: Fri, 20 Mar 2020 11:20:38 -0500 Subject: [PATCH] Get password from file on disk --- factorio-site.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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