alsa-utils/alsa-store.service

16 lines
412 B
SYSTEMD
Raw Normal View History

2013-04-12 09:19:29 +00:00
#
# 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 .
#
2011-01-28 13:28:23 +00:00
[Unit]
Description=Store Sound Card State
2013-04-12 09:19:29 +00:00
ConditionPathExists=!/etc/alsa/state-daemon.conf
2011-01-28 13:28:23 +00:00
DefaultDependencies=no
Before=shutdown.target
[Service]
Type=oneshot
ExecStart=/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf store
2013-04-12 09:19:29 +00:00
StandardOutput=syslog