update-rc.d is done upon install on debian
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 22 Jan 2013 14:43:00 +0000 (15:43 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 22 Jan 2013 14:43:00 +0000 (15:43 +0100)
debian/sfa.postinst [moved from debian/python-sfa.postinst with 81% similarity]
init.d/sfa

similarity index 81%
rename from debian/python-sfa.postinst
rename to debian/sfa.postinst
index 9d14a66..ef165d8 100644 (file)
@@ -3,3 +3,4 @@
 # I take it the idea was to implement
 # something like chkconfig sfa on
 
+update-rc.d sfa defaults
index ac77312..4815e37 100755 (executable)
@@ -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