mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-23 12:16:32 +01:00
c3a31afe14
It may be useful to have the file location configurable. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 lines
360 B
SYSTEMD
15 lines
360 B
SYSTEMD
#
|
|
# Note that two different ALSA card state management schemes exist and they
|
|
# can be switched using a file exist check - /etc/alsa/state-daemon.conf .
|
|
#
|
|
|
|
[Unit]
|
|
Description=Store Sound Card State
|
|
ConditionPathExists=!@daemonswitch@
|
|
DefaultDependencies=no
|
|
Before=shutdown.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=@sbindir@/alsactl store
|
|
StandardOutput=syslog
|