factorio: wait for network connection before starting
This commit is contained in:
parent
b58b9b1844
commit
cf712901d2
|
@ -10,6 +10,11 @@
|
|||
extraSettingsFile = config.age.secrets.factorio-settings.path;
|
||||
};
|
||||
|
||||
systemd.services.factorio = {
|
||||
after = [ "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
};
|
||||
|
||||
age.secrets.factorio-settings = {
|
||||
file = ../../secrets/factorio-settings.age;
|
||||
mode = "777";
|
||||
|
|
Loading…
Reference in a new issue