[Lunar-commits] <moonbase> alsa-utils: added systemd service (alsasettings)

Jean-Michel Bruenn wdp at lunar-linux.org
Thu Aug 4 20:34:55 CEST 2011


commit dffb0ae4f09a278b5bcd49a5e4ae1cc463f0d477
Author: Jean-Michel Bruenn <wdp at lunar-linux.org>
Date:   Thu Aug 4 20:34:55 2011 +0200

    alsa-utils: added systemd service (alsasettings)
---
 audio/alsa-utils/systemd.d/alsasettings.service |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/audio/alsa-utils/systemd.d/alsasettings.service b/audio/alsa-utils/systemd.d/alsasettings.service
new file mode 100644
index 0000000..794a171
--- /dev/null
+++ b/audio/alsa-utils/systemd.d/alsasettings.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Advanced Linux Sound Architecture
+
+[Service]
+RemainAfterExit=yes
+ExecStart=/usr/sbin/alsactl restore
+ExecStop=/usr/sbin/alsactl store
+ExecStopPost=/usr/bin/amixer set Master mute
+
+[Install]
+WantedBy=multi-user.target


More information about the Lunar-commits mailing list