[libreoffice-online] 05/05: properly install loolwsd.service

Rene Engelhard rene at moszumanska.debian.org
Mon Feb 27 15:13:40 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 c44699ef08ec64cb5ab3dfc2991792646e23a469
Author: Rene Engelhard <rene at debian.org>
Date:   Mon Feb 27 16:13:15 2017 +0100

    properly install loolwsd.service
---
 debian/rules | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 8956778..1e46cce 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,7 +13,7 @@ export BUILDING_FROM_RPMBUILD=yes
 
 # main packaging script based on dh7 syntax
 %:
-	dh $@ --with=systemd --with=autoreconf
+	dh $@ --with=autoreconf
 
 override_dh_auto_configure:
 	./configure $(CONFFLAGS)
@@ -27,4 +27,8 @@ override_dh_auto_install:
 	cp -ar $(CURDIR)/loleaflet $(CURDIR)/debian/loleaflet/usr/share/loolwsd
 
 override_dh_installinit:
-	# no init.d scripts here, assume systemd
+	cp $(CURDIR)/loolwsd.service $(CURDIR)/debian 
+	dh_installinit # also for systemd
+	#dh_systemd_enable -ploolwsd $(CURDIR)/loolwsd.service
+	#dh_systemd_start -ploolwsd $(CURDIR)/loolwsd.service
+	rm -f $(CURDIR)/debian/loolwsd.service

-- 
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