mirror of
https://github.com/nix-community/home-manager
synced 2024-11-05 10:49:44 +01:00
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.
This commit is contained in:
parent
d6b36f12ff
commit
05d91c5f50
1 changed files with 0 additions and 1 deletions
|
@ -16,7 +16,6 @@ let
|
||||||
''}
|
''}
|
||||||
state_file "${cfg.dataDir}/state"
|
state_file "${cfg.dataDir}/state"
|
||||||
sticker_file "${cfg.dataDir}/sticker.sql"
|
sticker_file "${cfg.dataDir}/sticker.sql"
|
||||||
log_file "syslog"
|
|
||||||
|
|
||||||
${optionalString (cfg.network.listenAddress != "any")
|
${optionalString (cfg.network.listenAddress != "any")
|
||||||
''bind_to_address "${cfg.network.listenAddress}"''}
|
''bind_to_address "${cfg.network.listenAddress}"''}
|
||||||
|
|
Loading…
Reference in a new issue