From: Paul Menzel Date: Tue, 8 Jul 2014 07:23:06 +0000 (+0000) Subject: alsactl: Remove standard output definition in systemd unit X-Git-Tag: v1.1.4~5 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=e9a6d425b5f183fe1dc0829782a9ca506aeb6263;p=alsa-utils.git alsactl: Remove standard output definition in systemd unit `/lib/systemd/system/alsa-restore.service` specifies `StandardOutput=syslog`. This overrides the `DefaultStandardOutput` setting from `/etc/systemd/system.conf`, which the system administrator can use to specify how output gets logged. In particular, the sysadmin may want output to go to the journal, or to syslog, or nowhere at all [1]. This patch removes the definition entirely, so the units can use the system default. Upstream the patch from the Debian package [2]. [1] https://bugs.debian.org/741123   "systemd services should not use StandardOutput=syslog; should rely on DefaultStandardOutput" [2] https://sources.debian.net/src/alsa-utils/1.1.2-1/debian/patches/systemd_standardoutput.patch/ Signed-off-by: Paul Menzel CC: Jordi Mallach Signed-off-by: Takashi Iwai --- diff --git a/alsactl/alsa-restore.service.in b/alsactl/alsa-restore.service.in index 2884098..2583d4c 100644 --- a/alsactl/alsa-restore.service.in +++ b/alsactl/alsa-restore.service.in @@ -14,4 +14,3 @@ Type=oneshot RemainAfterExit=true ExecStart=-@sbindir@/alsactl restore ExecStop=-@sbindir@/alsactl store -StandardOutput=syslog