[libreoffice-online] 02/02: create /var/log/loolwsd.log ourselves as loolwsd doesn't create it...

Rene Engelhard rene at moszumanska.debian.org
Tue Nov 14 07:20:43 UTC 2017


This is an automated email from the git hooks/post-receive script.

rene pushed a commit to branch master
in repository libreoffice-online.

commit 6f785ce6e05e73fbec5984ea604f07cada788877
Author: Rene Engelhard <rene at rene-engelhard.de>
Date:   Tue Nov 14 08:20:38 2017 +0100

    create /var/log/loolwsd.log ourselves as loolwsd doesn't create it...
---
 debian/loolwsd.postinst | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/loolwsd.postinst b/debian/loolwsd.postinst
index 9208149..d0aad65 100755
--- a/debian/loolwsd.postinst
+++ b/debian/loolwsd.postinst
@@ -25,6 +25,10 @@ case "$1" in
 	echo -n "Setting up systemplate..."
 	su lool --shell=/bin/sh -c "loolwsd-systemplate-setup /var/lib/lool/systemplate /usr/lib/libreoffice >/dev/null 2>&1"
 	echo "done."
+
+	# log...
+	touch /var/log/loolwsd.log
+	chown -R lool:lool /var/log/loolwsd.log
 	;;
 
 esac

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/libreoffice-online.git



More information about the Pkg-openoffice-commits mailing list