22 lines
697 B
Diff
22 lines
697 B
Diff
From 761055993a3839c9ec0edb2bb9ba294e40c1626b Mon Sep 17 00:00:00 2001
|
|
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
|
|
Date: Mon, 27 Jan 2025 09:54:06 +0100
|
|
Subject: [PATCH] storage-mon: log "already running" in start-action
|
|
|
|
---
|
|
heartbeat/storage-mon.in | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/heartbeat/storage-mon.in b/heartbeat/storage-mon.in
|
|
index 00e42f68d..f6a372ac8 100644
|
|
--- a/heartbeat/storage-mon.in
|
|
+++ b/heartbeat/storage-mon.in
|
|
@@ -313,6 +313,7 @@ storage_mon_start() {
|
|
else
|
|
storage_mon_monitor pid_check_only
|
|
if [ $? -eq $OCF_SUCCESS ]; then
|
|
+ ocf_log info "storage-mon is already running. PID=`cat $PIDFILE`"
|
|
return $OCF_SUCCESS
|
|
fi
|
|
storage_mon_init
|