From b77198def52b38c52e660edb2c55802238789dde Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Mon, 16 Feb 2015 16:19:06 +0100 Subject: [PATCH] Use invoke-rc.d instead of service to stop tomcat. Debian policy requires that invoke-rc.d is used. Signed-off-by: Wido den Hollander --- debian/cloudstack-management.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/cloudstack-management.postinst b/debian/cloudstack-management.postinst index 0dbeca9fd49..145d1eaa177 100644 --- a/debian/cloudstack-management.postinst +++ b/debian/cloudstack-management.postinst @@ -57,7 +57,7 @@ if [ "$1" = configure ]; then chmod 0640 /etc/cloudstack/management/db.properties chgrp cloud /etc/cloudstack/management/db.properties - service tomcat6 stop || true + invoke-rc.d tomcat6 stop || true fi #DEBHELPER#