LP878284: stop_osrf action should stop, not start, Perl
authorDan Scott <dscott@laurentian.ca>
Wed, 19 Oct 2011 15:39:41 +0000 (11:39 -0400)
committerDan Scott <dscott@laurentian.ca>
Wed, 19 Oct 2011 15:39:41 +0000 (11:39 -0400)
As reported by Vicent Mas <uvemas@gmail.com> to the Evergreen
developer's mailing list:

"""
It seems I've found a small bug in the
/openils/bin/osrf_ctl.sh script. The line for the osrf_stop action is:

"stop_osrf") stop_python; stop_c; start_perl;;

but should be:

"stop_osrf") stop_python; stop_c; stop_perl;;
"""

Signed-off-by: Dan Scott <dscott@laurentian.ca>

bin/osrf_ctl.sh.in

index 23a3fc7..be80541 100755 (executable)
@@ -290,7 +290,7 @@ case $OPT_ACTION in
        "stop_c") stop_c;;
        "restart_c") stop_c; start_c;;
        "start_osrf") start_perl; start_c; start_python;;
-       "stop_osrf") stop_python; stop_c; start_perl;;
+       "stop_osrf") stop_python; stop_c; stop_perl;;
        "restart_osrf") stop_python; stop_c; stop_perl; start_perl; start_c; start_python;;
        "stop_all") stop_python; stop_c; stop_perl; stop_router;;
        "start_all") start_router; start_perl; start_c; start_python;;