Blame SPECS/alsa-restore.service

Packit fb6d85
#
Packit fb6d85
# Note that two different ALSA card state management schemes exist and they
Packit fb6d85
# can be switched using a file exist check - /etc/alsa/state-daemon.conf .
Packit fb6d85
#
Packit fb6d85
Packit fb6d85
[Unit]
Packit fb6d85
Description=Save/Restore Sound Card State
Packit fb6d85
ConditionPathExists=!/etc/alsa/state-daemon.conf
Packit fb6d85
Packit fb6d85
[Service]
Packit fb6d85
Type=oneshot
Packit fb6d85
RemainAfterExit=true
Packit fb6d85
ExecStart=-/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main restore
Packit fb6d85
ExecStop=/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf store
Packit fb6d85
StandardOutput=syslog