it does only make sense to run the service when internet is available
This commit is contained in:
parent
f04316b277
commit
8e16fdebfd
@ -46,9 +46,7 @@ in {
|
||||
|
||||
systemd.services.dyn-gandi = mkIf (cfg.timer != null) {
|
||||
script = "${package}/bin/dyn-gandi --config ${configFile}";
|
||||
|
||||
after = ["network-online.target"];
|
||||
|
||||
requires = ["network-online.target"];
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user