Blame alsactl/alsa-restore.service.in
|
Packit Service |
a9274b |
#
|
|
Packit Service |
a9274b |
# Note that two different ALSA card state management schemes exist and they
|
|
Packit Service |
a9274b |
# can be switched using a file exist check - /etc/alsa/state-daemon.conf .
|
|
Packit Service |
a9274b |
#
|
|
Packit Service |
a9274b |
|
|
Packit Service |
a9274b |
[Unit]
|
|
Packit Service |
a9274b |
Description=Save/Restore Sound Card State
|
|
Packit Service |
a9274b |
ConditionPathExists=!@daemonswitch@
|
|
Packit Service |
a9274b |
ConditionPathExistsGlob=/dev/snd/control*
|
|
Packit Service |
a9274b |
ConditionPathExists=@asoundrcfile@
|
|
Packit Service |
a9274b |
|
|
Packit Service |
a9274b |
[Service]
|
|
Packit Service |
a9274b |
Type=oneshot
|
|
Packit Service |
a9274b |
RemainAfterExit=true
|
|
Packit Service |
a9274b |
ExecStart=-@sbindir@/alsactl restore
|
|
Packit Service |
a9274b |
ExecStop=-@sbindir@/alsactl store
|