alsa-state.service.in (470B)
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 6 [Unit] 7 Description=Manage Sound Card State (restore and store) 8 Documentation=man:alsactl(1) 9 ConditionPathExists=@daemonswitch@ 10 After=sysinit.target 11 12 [Service] 13 Type=simple 14 ExecStart=-@sbindir@/alsactl -E HOME=@alsactlhome@ -s -n 19 -c rdaemon 15 ExecStop=-@sbindir@/alsactl -E HOME=@alsactlhome@ -s kill save_and_quit