1
0
Fork 0
android_external_alsa-utils/alsactl/conf/alsa-state.service.in
Jaroslav Kysela f047a8a669 alsactl: move udev/systemd files to conf subdirectory
It is a cleanup to not mix C source code with system configuration files.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2025-12-04 15:08:14 +01:00

13 lines
376 B
SYSTEMD

#
# 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)
ConditionPathExists=@daemonswitch@
[Service]
Type=simple
ExecStart=-@sbindir@/alsactl -s -n 19 -c rdaemon
ExecStop=-@sbindir@/alsactl -s kill save_and_quit