[Ovirt-devel] [PATCH] move collectd runlevel to start after libvirt
Alan Pevec
apevec at redhat.com
Thu Jun 5 15:52:40 UTC 2008
diff --git a/ovirt-host-creator/common-post.ks b/ovirt-host-creator/common-post.ks
index cc64b80..2e9bca6 100644
--- a/ovirt-host-creator/common-post.ks
+++ b/ovirt-host-creator/common-post.ks
@@ -344,8 +344,9 @@ start() {
-e "s/@COLLECTD_PORT@/$SRV_PORT/" $collectd_conf.in \
> $collectd_conf \
|| die "Failed to write $collectd_conf"
- service collectd restart
fi
+ echo "# chkconfig: 345 98 02" > /etc/chkconfig.d/collectd
+ chkconfig collectd on
success
echo
More information about the ovirt-devel
mailing list