aboutsummaryrefslogtreecommitdiff
path: root/subsonic-installer-debian/src/DEBIAN/prerm
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-07-02 21:24:02 -0700
committerScott Jackson <daneren2005@gmail.com>2012-07-02 21:24:02 -0700
commita1a18f77a50804e0127dfa4b0f5240c49c541184 (patch)
tree19a38880afe505beddb5590379a8134d7730a277 /subsonic-installer-debian/src/DEBIAN/prerm
parentb61d787706979e7e20f4c3c4f93c1f129d92273f (diff)
downloaddsub-a1a18f77a50804e0127dfa4b0f5240c49c541184.tar.gz
dsub-a1a18f77a50804e0127dfa4b0f5240c49c541184.tar.bz2
dsub-a1a18f77a50804e0127dfa4b0f5240c49c541184.zip
Initial Commit
Diffstat (limited to 'subsonic-installer-debian/src/DEBIAN/prerm')
-rw-r--r--subsonic-installer-debian/src/DEBIAN/prerm8
1 files changed, 8 insertions, 0 deletions
diff --git a/subsonic-installer-debian/src/DEBIAN/prerm b/subsonic-installer-debian/src/DEBIAN/prerm
new file mode 100644
index 00000000..e15501e5
--- /dev/null
+++ b/subsonic-installer-debian/src/DEBIAN/prerm
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+set -e
+
+# Stop Subsonic service.
+if [ -e /etc/init.d/subsonic ]; then
+ invoke-rc.d subsonic stop
+fi