totoro: want network-online.target
This commit is contained in:
parent
9bdab9a2fc
commit
84359a9136
1 changed files with 2 additions and 0 deletions
|
@ -518,6 +518,7 @@ in {
|
|||
systemd.services.sslrenew-raritan = {
|
||||
enable = true;
|
||||
after = [ "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "${depot.ops.raritan.ssl-renew}/lego.sh";
|
||||
|
@ -544,6 +545,7 @@ in {
|
|||
systemd.services.streetworks = {
|
||||
enable = true;
|
||||
after = [ "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${depot.go.streetworks}/bin/streetworks -postcode='NW5 4HS' -pushover_token='${secrets.pushover.tokens.depot}' -pushover_user='${secrets.pushover.userKey}'";
|
||||
|
|
Loading…
Reference in a new issue