[Calypso] [PATCH] Install init.d script in /etc/init.d/

Petter Reinholdtsen pere at hungry.com
Wed Jan 27 12:49:17 PST 2016


At the moment, the init.d script for calypso is not installed into the
deb package.  I suspect it should be.  Here is a patch to make this
happen.

diff --git a/debian/rules b/debian/rules
index 100bf6c..32b4143 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,3 +8,7 @@ override_dh_auto_clean:
 	dh_auto_clean
 	rm -rf build .*egg-info
 
+override_dh_installinit:
+	ln -s ../calypso-init debian/calypso.init
+	dh_installinit
+	rm debian/calypso.init

-- 
Happy hacking
Petter Reinholdtsen


More information about the Calypso mailing list