[alsa-utils] add missing .service files

perex perex at fedoraproject.org
Fri Jan 28 13:29:57 UTC 2011


commit 8293f4a4d1a1decfeec64baf8884f00a10a64cf3
Author: Jaroslav Kysela <perex at perex.cz>
Date:   Fri Jan 28 14:28:23 2011 +0100

    add missing .service files

 alsa-restore.service |   11 +++++++++++
 alsa-store.service   |    9 +++++++++
 2 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/alsa-restore.service b/alsa-restore.service
new file mode 100644
index 0000000..2cffc7c
--- /dev/null
+++ b/alsa-restore.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Restore Sound Card State
+DefaultDependencies=no
+After=sysinit.target
+Before=shutdown.target
+Conflicts=shutdown.target
+
+[Service]
+Type=oneshot
+ExecStart=-/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main restore
+StandardOutput=syslog
diff --git a/alsa-store.service b/alsa-store.service
new file mode 100644
index 0000000..5995e06
--- /dev/null
+++ b/alsa-store.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Store Sound Card State
+DefaultDependencies=no
+Before=shutdown.target
+
+[Service]
+Type=oneshot
+ExecStart=/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf store
+StandardOutput=syslog


More information about the scm-commits mailing list