File: alsa-state.service.in

package info (click to toggle)
alsa-utils 1.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,956 kB
  • sloc: ansic: 24,749; sh: 7,171; xml: 590; makefile: 434; sed: 16
file content (15 lines) | stat: -rw-r--r-- 470 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# 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=Manage Sound Card State (restore and store)
Documentation=man:alsactl(1)
ConditionPathExists=@daemonswitch@
After=sysinit.target

[Service]
Type=simple
ExecStart=-@sbindir@/alsactl -E HOME=@alsactlhome@ -s -n 19 -c rdaemon
ExecStop=-@sbindir@/alsactl -E HOME=@alsactlhome@ -s kill save_and_quit