[Libreoffice-commits] online.git: Branch 'distro/collabora/milestone-4' - loolwsd/debian
Mihai Varga
mihai.varga at collabora.com
Tue Sep 8 06:32:25 PDT 2015
loolwsd/debian/loolwsd.preinst | 10 ++++++++++
1 file changed, 10 insertions(+)
New commits:
commit 95ecfe3614a163e5f1eeb8bac0abdb496f3ae6a6
Author: Mihai Varga <mihai.varga at collabora.com>
Date: Tue Sep 8 16:31:49 2015 +0300
loolwsd: stop loolwsd service before installing .deb
diff --git a/loolwsd/debian/loolwsd.preinst b/loolwsd/debian/loolwsd.preinst
new file mode 100755
index 0000000..78112a4
--- /dev/null
+++ b/loolwsd/debian/loolwsd.preinst
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+# Stop any running loolwsd process
+if [ -d /run/systemd/system ]; then
+ deb-systemd-invoke stop loolwsd.service >/dev/null || true
+fi
+
+exit 0
More information about the Libreoffice-commits
mailing list