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 = {
|
systemd.services.sslrenew-raritan = {
|
||||||
enable = true;
|
enable = true;
|
||||||
after = [ "network-online.target" ];
|
after = [ "network-online.target" ];
|
||||||
|
wants = [ "network-online.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
ExecStart = "${depot.ops.raritan.ssl-renew}/lego.sh";
|
ExecStart = "${depot.ops.raritan.ssl-renew}/lego.sh";
|
||||||
|
@ -544,6 +545,7 @@ in {
|
||||||
systemd.services.streetworks = {
|
systemd.services.streetworks = {
|
||||||
enable = true;
|
enable = true;
|
||||||
after = [ "network-online.target" ];
|
after = [ "network-online.target" ];
|
||||||
|
wants = [ "network-online.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${depot.go.streetworks}/bin/streetworks -postcode='NW5 4HS' -pushover_token='${secrets.pushover.tokens.depot}' -pushover_user='${secrets.pushover.userKey}'";
|
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