Displaying 1 result from an estimated 1 matches for "reload_ovirt_post".
2010 Mar 11
1
[PATCH] Changes the start/stop/reload method names for sysvinit scripts.
...ONFIG"
-start() {
+start_ovirt_post() {
# wait for libvirt to finish initializing
local count=0
while true; do
@@ -80,11 +80,16 @@ start() {
rm -f $VAR_SUBSYS_OVIRT_POST
}
-stop() {
+stop_ovirt_post () {
echo -n "Stopping ovirt-post: "
success
}
+reload_ovirt_post () {
+ stop_ovirt_post
+ start_ovirt_post
+}
+
case "$1" in
start)
[ -f "$VAR_SUBSYS_OVIRT_POST" ] && exit 0
@@ -92,7 +97,7 @@ case "$1" in
{
log "Starting ovirt-post"
- start
+ start_...