summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Douglas <william.douglas@intel.com>2012-07-09 20:57:50 (GMT)
committerWilliam Douglas <william.douglas@intel.com>2012-07-09 21:00:35 (GMT)
commitff125a4be764206c4a5d9bb23aa771f51006a1a5 (patch)
tree1257ee7a86d6c725ff8f5f29354bef7b8850dfd4
parent68cd6aae45bea7a9c129a57d2a6cd1968383965e (diff)
downloadavsystem-ff125a4be764206c4a5d9bb23aa771f51006a1a5.zip
avsystem-ff125a4be764206c4a5d9bb23aa771f51006a1a5.tar.gz
avsystem-ff125a4be764206c4a5d9bb23aa771f51006a1a5.tar.bz2
Fix service file error causing service to fail.1.0_post
Type was set to simple but it should be oneshot. Also add RemainAfterExit=yes to avoid running the stop function once the service exits. Signed-off-by: William Douglas <william.douglas@intel.com>
-rw-r--r--packaging/avsystem.changes6
-rw-r--r--packaging/avsystem.service2
2 files changed, 8 insertions, 0 deletions
diff --git a/packaging/avsystem.changes b/packaging/avsystem.changes
index 2a8f55a..9462e4b 100644
--- a/packaging/avsystem.changes
+++ b/packaging/avsystem.changes
@@ -1,3 +1,9 @@
+* Mon Jul 09 2012 William Douglas <william.douglas@intel.com> 09ba094
+- Fix service file error causing service to fail.
+
+* Mon Jul 02 2012 Patrick McCarty <patrick.mccarty@linux.intel.com> 68cd6aa
+- Regenerate changelog; add tag for OBS submit
+
* Thu Jun 21 2012 William Douglas <william.douglas@intel.com> 34f9a67
- add systemd unit file
- Fix post section.
diff --git a/packaging/avsystem.service b/packaging/avsystem.service
index aa873b6..a32ba1e 100644
--- a/packaging/avsystem.service
+++ b/packaging/avsystem.service
@@ -3,6 +3,8 @@ Description=Start the av system
After=pulseaudio.service
[Service]
+Type=oneshot
+RemainAfterExit=yes
ExecStart=/usr/bin/sound_initializer -i
ExecStop=/usr/bin/sound_initializer -u