1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-22 13:33:52 +03:00

M #-: Make one start/stop script more quiet

This commit is contained in:
Ruben S. Montero 2019-09-10 18:18:02 +02:00
parent bfe7694320
commit acff31e240
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -132,7 +132,7 @@ stop_sched()
stop_hem()
{
onehem-server stop
onehem-server stop > /dev/null 2>&1
}
#------------------------------------------------------------------------------
@ -243,7 +243,7 @@ start_hem()
[ -f "$ONE_HEM_LOG" ] && mv $ONE_HEM_LOG{,.$(date '+%Y%m%d%H%M%S')}
fi
onehem-server start
onehem-server start > /dev/null 2>&1
LASTRC=$?
@ -268,13 +268,11 @@ case "$1" in
;;
stop)
stop
echo "oned, scheduler and hem stopped"
;;
restart)
stop
setup
start
echo "oned, scheduler and hem restarted"
;;
start-sched)
start_sched