alsa-state.service 410 B

1234567891011121314
  1. #
  2. # Note that two different ALSA card state management schemes exist and they
  3. # can be switched using a file exist check - /etc/alsa/state-daemon.conf .
  4. #
  5. [Unit]
  6. Description=Manage Sound Card State (restore and store)
  7. ConditionPathExists=/etc/alsa/state-daemon.conf
  8. After=sysinit.target
  9. [Service]
  10. Type=simple
  11. ExecStart=-/usr/sbin/alsactl -s -n 19 -c rdaemon
  12. ExecStop=-/usr/sbin/alsactl -s kill save_and_quit