From 451536b556ff8263decaa6297de26e650512030c Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Sat, 15 Apr 2023 22:26:41 +0200 Subject: [PATCH] mediaserver: fixup --- system/nixos/prowlarr.nix | 1 + system/nixos/sabnzbd.nix | 1 + 2 files changed, 2 insertions(+) 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 = {