[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] init.d: Fix xencommons init script chkconfig configuration



# HG changeset patch
# User Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
# Date 1277220150 -3600
# Node ID e2f5e4f3481c250ebc9e7c3107238d51642a99fc
# Parent  ce4e60aa1281883bf759e259081fd807a997c9b6
init.d: Fix xencommons init script chkconfig configuration

Fix the xencommons init script chkconfig configuration since the
priority was missing here and chkconfig was complaining about invalid
chkconfig script so I added both start and stop priorities to the
chkconfig line and it was working fine, the script was successfully
added to chkconfig when using `chkconfig --add xencommons` and
management using the chkconfig utility was now possible.

Tested on RHEL-5 Server with Xen-4.1-unstable installed, running on
PVops kernel 2.6.32.15 and it was working fine.

Signed-off-by: Michal Novotny <minovotn@xxxxxxxxxx>
---
 tools/hotplug/Linux/init.d/xencommons |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r ce4e60aa1281 -r e2f5e4f3481c tools/hotplug/Linux/init.d/xencommons
--- a/tools/hotplug/Linux/init.d/xencommons     Tue Jun 22 16:09:59 2010 +0100
+++ b/tools/hotplug/Linux/init.d/xencommons     Tue Jun 22 16:22:30 2010 +0100
@@ -4,7 +4,7 @@
 #
 # Author:       Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
 #
-# chkconfig: 2345
+# chkconfig: 2345 70 10
 # description: Starts and stops xenstored and xenconsoled
 ### BEGIN INIT INFO
 # Provides:          xenstored xenconsoled

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.