podman: Remove some manual depends
This commit is contained in:
parent
0dd9829beb
commit
9bdf5ac8d3
2 changed files with 4 additions and 17 deletions
|
@ -38,23 +38,15 @@
|
|||
};
|
||||
|
||||
systemd.services.podman-autobrr =
|
||||
let
|
||||
depends = [ "podman-sonarr.service" "podman-radarr.service" ];
|
||||
in
|
||||
{
|
||||
requires = lib.mkAfter depends;
|
||||
bindsTo = [ "wg.service" ];
|
||||
after = lib.mkForce ([ "wg.service" ] ++ depends);
|
||||
after = lib.mkForce [ "wg.service" ];
|
||||
};
|
||||
|
||||
systemd.services.podman-omegabrr =
|
||||
let
|
||||
depends = [ "podman-autobrr.service" ];
|
||||
in
|
||||
{
|
||||
requires = lib.mkAfter depends;
|
||||
bindsTo = [ "wg.service" ];
|
||||
after = lib.mkForce ([ "wg.service" ] ++ depends);
|
||||
after = lib.mkForce [ "wg.service" ];
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."autobrr.internal.kempkens.network" = {
|
||||
|
|
|
@ -27,16 +27,11 @@
|
|||
"mnt-media-Movies.mount"
|
||||
"mnt-downloads.mount"
|
||||
];
|
||||
|
||||
depends = [
|
||||
"podman-sabnzbd.service"
|
||||
"podman-qbittorrent.service"
|
||||
];
|
||||
in
|
||||
{
|
||||
requires = lib.mkAfter (mounts ++ depends);
|
||||
requires = lib.mkAfter mounts;
|
||||
bindsTo = [ "wg.service" ];
|
||||
after = lib.mkForce ([ "wg.service" ] ++ mounts ++ depends);
|
||||
after = lib.mkForce ([ "wg.service" ] ++ mounts);
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."radarr.internal.kempkens.network" = {
|
||||
|
|
Loading…
Reference in a new issue