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 <wido@widodh.nl>
This commit is contained in:
Felix Geyer 2015-02-16 16:19:06 +01:00 committed by Wido den Hollander
parent 705af84141
commit b77198def5
1 changed files with 1 additions and 1 deletions

View File

@ -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#