mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-26 10:03:37 +03:00
B #4796: restart collectd one active monitorization
This commit is contained in:
parent
8aba93124a
commit
5db34212ef
@ -86,11 +86,14 @@ function check_running() {
|
||||
|
||||
case $ACTION in
|
||||
start)
|
||||
if ! check_running; then
|
||||
start_client
|
||||
write_pid $!
|
||||
if check_running; then
|
||||
stop_client
|
||||
remove_pid_file
|
||||
fi
|
||||
|
||||
start_client
|
||||
write_pid $!
|
||||
|
||||
# This script returns the run_probes execution
|
||||
HYPERVISOR=$1
|
||||
shift
|
||||
|
Loading…
x
Reference in New Issue
Block a user