From 57cb23bea206dbe743f929670433fae5d575a965 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 22 Jan 2013 15:43:00 +0100 Subject: [PATCH] update-rc.d is done upon install on debian --- debian/{python-sfa.postinst => sfa.postinst} | 1 + init.d/sfa | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) rename debian/{python-sfa.postinst => sfa.postinst} (81%) 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 -- 2.47.0