summaryrefslogtreecommitdiff
path: root/alsactl/alsa-state.service.in
Commit message (Collapse)AuthorAgeFilesLines
* alsactl: Move systemd unit start-up from basic.target to sound.targetChris Mayo2017-10-061-1/+0
| | | | | | | | | | | | | | | | | | 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>
* alsactl: Manage both save and restore in a single unitTakashi Iwai2015-09-291-3/+0
| | | | | | | | | | | | | | 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: alsa-state.service - fix typo (rkill -> kill)Jaroslav Kysela2013-07-191-1/+1
| | | | Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* alsactl: add --with-alsactl-daemonswitch=FILE to the global configure.inJaroslav Kysela2013-04-101-1/+1
| | | | | | It may be useful to have the file location configurable. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* alsactl: revert back old systemd static units with the ↵Jaroslav Kysela2013-04-101-0/+6
| | | | | | /etc/alsa/state-daemon.conf switch Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* alsactl: add --nice and --sched-idle optionsJaroslav Kysela2013-04-101-1/+1
| | | | | | | The state management can run at low priority, add --nice and --sched-idle options to set the scheduler. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
* alsactl: move systemd config to the daemon modeJaroslav Kysela2013-04-081-0/+11
Signed-off-by: Jaroslav Kysela <perex@perex.cz>