Get password from file on disk
This commit is contained in:
parent
13ccb3a218
commit
27f6618075
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue