]> git.alsa-project.org Git - alsa-utils.git/commitdiff
alsactl: Remove standard output definition in systemd unit
authorPaul Menzel <paulepanter@users.sourceforge.net>
Tue, 8 Jul 2014 07:23:06 +0000 (07:23 +0000)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Dec 2016 16:08:52 +0000 (17:08 +0100)
`/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 <paulepanter@users.sourceforge.net>
CC: Jordi Mallach <jordi@debian.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
alsactl/alsa-restore.service.in

index 2884098c26f0a8c4d2f4bfee48faa88e43a9d3cb..2583d4c0006d4991b51bae9f89473ca1a69f7c3e 100644 (file)
@@ -14,4 +14,3 @@ Type=oneshot
 RemainAfterExit=true
 ExecStart=-@sbindir@/alsactl restore
 ExecStop=-@sbindir@/alsactl store
-StandardOutput=syslog