X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=blobdiff_plain;f=scripts%2Fservice-openmano.sh;h=0224d20f012e5c54c63c0a4e44f25e7dbcfe7f75;hp=1a48d4a336d3b4692e5c43168f41538e264da029;hb=2c290ca4088492a3c32bb6ab218d0004da68f6ea;hpb=06e6c396413630640cafae3488442a0869f1642d diff --git a/scripts/service-openmano.sh b/scripts/service-openmano.sh index 1a48d4a3..0224d20f 100755 --- a/scripts/service-openmano.sh +++ b/scripts/service-openmano.sh @@ -116,7 +116,7 @@ do running=y done #if installed as a service and it is not provided a screen name call service - [[ -f /etc/systemd/system/openmano.service ]] && [[ -z $option_screen_name ]] && running=y #&& service openmano status + [[ -f /etc/systemd/system/osm-ro.service ]] && [[ -z $option_screen_name ]] && running=y #&& service osm-ro status if [ -z "$running" ] then echo -n " $om_name not running" && [[ -n "$option_screen_name" ]] && echo " on screen '$option_screen_name'" || echo @@ -124,7 +124,7 @@ do fi #if installed as a service and it is not provided a screen name call service - [[ -f /etc/systemd/system/openmano.service ]] && [[ -z $option_screen_name ]] && service openmano $om_action && ( [[ $om_action == status ]] || sleep 5 ) && exit $? + [[ -f /etc/systemd/system/osm-ro.service ]] && [[ -z $option_screen_name ]] && service osm-ro $om_action && ( [[ $om_action == status ]] || sleep 5 ) && exit $? #stop