Displaying 1 result from an estimated 1 matches for "reload_ovirt".
2010 Mar 11
1
[PATCH] Changes the start/stop/reload method names for sysvinit scripts.
...fi
}
-start() {
+start_ovirt () {
touch $VAR_SUBSYS_OVIRT
case $OVIRT_RUNTIME_MODE in
"ovirt")
@@ -90,18 +90,24 @@ start() {
return $RC
}
-stop() {
+stop_ovirt () {
echo -n "Stopping ovirt: "
+ rm -f $VAR_SUBSYS_OVIRT
success
}
+reload_ovirt () {
+ stop_ovirt
+ start_ovirt
+}
+
case "$1" in
start)
[ -f "$VAR_SUBSYS_OVIRT" ] && exit 0
echo -n "Starting ovirt: "
{
log "Starting ovirt"
- start
+ start_ovirt...