]> git.alsa-project.org Git - alsa-utils.git/commit
alsactl: Manage both save and restore in a single unit
authorTakashi Iwai <tiwai@suse.de>
Tue, 29 Sep 2015 15:26:34 +0000 (17:26 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 29 Sep 2015 15:54:17 +0000 (17:54 +0200)
commit7d6673cc1388729a906a33a87cc9817d44e043ad
treec60269327f519954580e7d4b9f238a6ff4f12f9d
parentcd1bb5f4a72c7364b2756db357d752a73baefc9b
alsactl: Manage both save and restore in a single unit

With RemainAfterExit=true, we can manage both save and restore of the
card state in a single unit file.  This will fix also the case where
systemd reloads the service; with two individual units, it will
restore the previous state before saving, and may lead to inconsistent
state suddenly.

Also fix alsa-state.service as well to make both start and stop
working in a simpler way.

Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=929619
Signed-off-by: Takashi Iwai <tiwai@suse.de>
alsactl/Makefile.am
alsactl/alsa-restore.service.in
alsactl/alsa-state.service.in
alsactl/alsa-store.service.in [deleted file]