about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJeremy Apthorp <nornagon@nornagon.net>2018-12-19 22:37:25 -0800
committerGitHub <noreply@github.com>2018-12-19 22:37:25 -0800
commit654c3124b267bb39c23c4c4aedeffe97809afffe (patch)
tree6432ad8fecd8b9e82be4050d643a103582ffd59e /nixos
parent25eb8419d9d36dcb53f8ff1f3199bd35289ad482 (diff)
downloadnixlib-654c3124b267bb39c23c4c4aedeffe97809afffe.tar
nixlib-654c3124b267bb39c23c4c4aedeffe97809afffe.tar.gz
nixlib-654c3124b267bb39c23c4c4aedeffe97809afffe.tar.bz2
nixlib-654c3124b267bb39c23c4c4aedeffe97809afffe.tar.lz
nixlib-654c3124b267bb39c23c4c4aedeffe97809afffe.tar.xz
nixlib-654c3124b267bb39c23c4c4aedeffe97809afffe.tar.zst
nixlib-654c3124b267bb39c23c4c4aedeffe97809afffe.zip
shairport-sync: don't daemonize
This flag causes the shairport-sync server to attempt to daemonize, but it looks like systemd is already handling that. With the `-d` argument, shairport-sync immediately exits—it seems that something (systemd I'm guessing?) is sending it SIGINT or SIGTERM.

The [upstream systemd unit](https://github.com/mikebrady/shairport-sync/blob/master/scripts/shairport-sync.service.in#L10) doesn't pass `-d`.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/shairport-sync.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/shairport-sync.nix b/nixos/modules/services/networking/shairport-sync.nix
index 36ecb74ffc95..90c0689dc7bf 100644
--- a/nixos/modules/services/networking/shairport-sync.nix
+++ b/nixos/modules/services/networking/shairport-sync.nix
@@ -27,7 +27,7 @@ in
       };
 
       arguments = mkOption {
-        default = "-v -d pulse";
+        default = "-v pulse";
         description = ''
           Arguments to pass to the daemon. Defaults to a local pulseaudio
           server.