diff --git a/system/nixos/prowlarr.nix b/system/nixos/prowlarr.nix index d4b9fc0..4cf16f4 100644 --- a/system/nixos/prowlarr.nix +++ b/system/nixos/prowlarr.nix @@ -18,6 +18,7 @@ systemd.services.socat-prowlarr = { description = "socat exposes prowlarr"; bindsTo = [ "wg.service" ]; + requires = [ "prowlarr.service" ]; after = [ "wg.service" ]; serviceConfig = { diff --git a/system/nixos/sabnzbd.nix b/system/nixos/sabnzbd.nix index 09924a3..e78e7e8 100644 --- a/system/nixos/sabnzbd.nix +++ b/system/nixos/sabnzbd.nix @@ -19,6 +19,7 @@ systemd.services.socat-sabnzbd = { description = "socat exposes sabnzbd"; bindsTo = [ "wg.service" ]; + requires = [ "sabnzbd.service" ]; after = [ "wg.service" ]; serviceConfig = {