summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init
diff options
context:
space:
mode:
authorjoey <joey>2004-06-29 00:03:54 +0000
committerjoey <joey>2004-06-29 00:03:54 +0000
commitad092508ea530253700749a3119bf8a24dcc162e (patch)
tree9c5bcde32f8bea565082d18d9e749c39741309b6 /autoscripts/postinst-init
parent62d0cab3e04ec95e5c62a58d291018a1ebce228f (diff)
r1691: * dh_installinit: Added --error-handler option. Based on work by Thom May.
Closes: #209090
Diffstat (limited to 'autoscripts/postinst-init')
-rw-r--r--autoscripts/postinst-init4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoscripts/postinst-init b/autoscripts/postinst-init
index b5bd7a5..8128cd9 100644
--- a/autoscripts/postinst-init
+++ b/autoscripts/postinst-init
@@ -1,8 +1,8 @@
if [ -x "/etc/init.d/#SCRIPT#" ]; then
update-rc.d #SCRIPT# #INITPARMS# >/dev/null
if [ -x /usr/sbin/invoke-rc.d ]; then
- invoke-rc.d #SCRIPT# start
+ invoke-rc.d #SCRIPT# start || #ERROR_HANDLER#
else
- /etc/init.d/#SCRIPT# start
+ /etc/init.d/#SCRIPT# start || #ERROR_HANDLER#
fi
fi