1
0
Fork 0
mirror of https://gitlab.postmarketos.org/postmarketOS/pmaports.git synced 2025-07-16 02:05:11 +03:00
pmaports/extra-repos/systemd/systemd-services/system-alsa-state.service

16 lines
422 B
Desktop File

#
# 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=/etc/alsa/state-daemon.conf
[Service]
Type=simple
ExecStart=-/usr/sbin/alsactl -s -n 19 -c rdaemon
ExecStop=-/usr/sbin/alsactl -s kill save_and_quit
[Install]
WantedBy=sound.target