Displaying 1 result from an estimated 1 matches for "stop_ovirt".
2010 Mar 11
1
[PATCH] Changes the start/stop/reload method names for sysvinit scripts.
...t
index 752564a..ef00f02 100755
--- a/scripts/ovirt
+++ b/scripts/ovirt
@@ -71,7 +71,7 @@ ovirt_start() {
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: &...