Get password from file on disk

This commit is contained in:
Chandler Swift 2020-03-20 11:20:38 -05:00
parent 13ccb3a218
commit 27f6618075

View file

@ -2,7 +2,7 @@
Description=factorio-site Description=factorio-site
[Service] [Service]
ExecStart=/opt/factorio-site/server ExecStart=/bin/sh -c "/opt/factorio-site/serverm --password=`cat /opt/factorio-rcon-password`"
WorkingDirectory=/opt/factorio-site WorkingDirectory=/opt/factorio-site
Restart=always Restart=always