From 05d91c5f50ba37f7ee31ce533d533ee84aafe676 Mon Sep 17 00:00:00 2001 From: Hugo Geoffroy Date: Thu, 5 Sep 2019 06:57:12 +0200 Subject: [PATCH] mpd: use systemd journal instead of syslog MPD is using syslog for its logging output, while it could directly log to systemd's journal, as this daemon is primarily used as a systemd user service. This change makes MPD log to standard output, which is captured by systemd. See https://github.com/NixOS/nixpkgs/pull/57608, which does the same thing to NixOS's MPD service. --- modules/services/mpd.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/services/mpd.nix b/modules/services/mpd.nix index fbcf9e94..5dc80a4a 100644 --- a/modules/services/mpd.nix +++ b/modules/services/mpd.nix @@ -16,7 +16,6 @@ let ''} state_file "${cfg.dataDir}/state" sticker_file "${cfg.dataDir}/sticker.sql" - log_file "syslog" ${optionalString (cfg.network.listenAddress != "any") ''bind_to_address "${cfg.network.listenAddress}"''}