Commit 0512a9d067bb

Vincent Demeester <vincent@sbr.pm>
2019-09-12 11:06:17
services.shairport-sync: update systemd service
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent f9539e9
Changed files (1)
modules
modules/services/shairport-sync.nix
@@ -27,7 +27,7 @@ in
       };
 
       arguments = mkOption {
-        default = "-v -j -o pa";
+        default = "-v -o pa";
         description = ''
           Arguments to pass to the daemon. Defaults to a local pulseaudio
           server.
@@ -65,7 +65,7 @@ in
         Environment = "PATH=${config.home.profileDirectory}/bin";
         ExecStart = "${pkgs.shairport-sync}/bin/shairport-sync ${cfg.arguments}";
         ExecStop = "${pkgs.procps}/bin/pkill shairport-sync";
-        Type = "forking";
+        Type = "simple";
       };
     };
   };