From 98dcf66907b24e07c90cfb8746bf3ee6484b2448 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 15 May 2018 18:42:52 +0200 Subject: bind to jack and other ports --- custom/trivmix-service.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'custom/trivmix-service.nix') diff --git a/custom/trivmix-service.nix b/custom/trivmix-service.nix index 9a8ed504..406cfc71 100644 --- a/custom/trivmix-service.nix +++ b/custom/trivmix-service.nix @@ -81,7 +81,7 @@ let ++ optional (! isNull group) "/dev/shm/mix/${group}/level"; in { wantedBy = [ "sound.target" ]; - requires = [ "jack.service" ] ++ map (n: n + ".service") mixerDeps; + bindsTo = [ "jack.service" ] ++ map (n: n + ".service") mixerDeps; after = [ "jack.service" ] ++ map (n: n + ".service") mixerDeps; path = with pkgs; [ jack2Full trivmix ]; serviceConfig = { -- cgit v1.2.3