From: Thierry Parmentelat Date: Tue, 22 Jan 2013 14:43:00 +0000 (+0100) Subject: update-rc.d is done upon install on debian X-Git-Tag: sfa-2.1-24~4^2~1 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=57cb23bea206dbe743f929670433fae5d575a965;p=sfa.git update-rc.d is done upon install on debian --- diff --git a/debian/python-sfa.postinst b/debian/sfa.postinst similarity index 81% rename from debian/python-sfa.postinst rename to debian/sfa.postinst index 9d14a66a..ef165d88 100644 --- a/debian/python-sfa.postinst +++ b/debian/sfa.postinst @@ -3,3 +3,4 @@ # I take it the idea was to implement # something like chkconfig sfa on +update-rc.d sfa defaults diff --git a/init.d/sfa b/init.d/sfa index ac773128..4815e372 100755 --- a/init.d/sfa +++ b/init.d/sfa @@ -6,8 +6,14 @@ # hopefully right after plc # chkconfig: 2345 61 39 # -# description: An implementation of the SFA Architecture -# +### BEGIN INIT INFO +# Provides: sfa +# Required-Start: postgresql +# Required-Stop: postgresql +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: An implementation of the SFA Architecture +### END INIT INFO #################### # borrowed from postgresql