cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wid...@apache.org
Subject [10/13] git commit: updated refs/heads/master to 8e5fefc
Date Thu, 05 Mar 2015 15:27:28 GMT
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>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/b77198de
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b77198de
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b77198de

Branch: refs/heads/master
Commit: b77198def52b38c52e660edb2c55802238789dde
Parents: 705af84
Author: Felix Geyer <felix.geyer@credativ.de>
Authored: Mon Feb 16 16:19:06 2015 +0100
Committer: Wido den Hollander <wido@widodh.nl>
Committed: Thu Mar 5 14:39:54 2015 +0100

----------------------------------------------------------------------
 debian/cloudstack-management.postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b77198de/debian/cloudstack-management.postinst
----------------------------------------------------------------------
diff --git a/debian/cloudstack-management.postinst b/debian/cloudstack-management.postinst
index 0dbeca9..145d1ea 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#


Mime
View raw message