diff options
author | Hugo Geoffroy <pistache@lebib.org> | 2019-09-05 06:57:12 +0200 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2019-09-05 22:38:35 +0200 |
commit | 05d91c5f50ba37f7ee31ce533d533ee84aafe676 (patch) | |
tree | e734dcdb1dbd449aeba148a418a8d762d8e6937f /modules/services/mpd.nix | |
parent | d6b36f12ff74b41b34e162bbe757f01f9636399c (diff) |
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.
Diffstat (limited to '')
-rw-r--r-- | modules/services/mpd.nix | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/services/mpd.nix b/modules/services/mpd.nix index fbcf9e94230..5dc80a4a345 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}"''} |