]> git.alsa-project.org Git - alsa-utils.git/commit
alsactl: Move systemd unit start-up from basic.target to sound.target
authorChris Mayo <aklhfex@gmail.com>
Tue, 26 Sep 2017 18:36:12 +0000 (19:36 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 6 Oct 2017 12:32:16 +0000 (14:32 +0200)
commitf72a296d23dd49e239ae8268498351953ef7bd94
treecf1a07bbca2e824457639bbd92e27b0903bb66c2
parentdbd4fc84f82bd28ec54cb1c494570dbc6e04302a
alsactl: Move systemd unit start-up from basic.target to sound.target

Ensures soundcard is ready before restoring state.

sound.target added to systemd in v18:
https://cgit.freedesktop.org/systemd/systemd/commit/?id=88dfa2938af

Simplify dependencies:
 - After=alsa-state.service is not needed because both units test for
   @daemonswitch@ with opposite outcomes.

 - After=sysinit.target is automatically added by systemd.

First proposed by Tom Yan.

Signed-off-by: Chris Mayo <aklhfex@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
INSTALL
alsactl/Makefile.am
alsactl/alsa-restore.service.in
alsactl/alsa-state.service.in
configure.ac