45 lines
1.7 KiB
Diff
45 lines
1.7 KiB
Diff
|
diff -uNr a/heartbeat/ClusterMon b/heartbeat/ClusterMon
|
||
|
--- a/heartbeat/ClusterMon 2018-06-29 14:05:02.000000000 +0200
|
||
|
+++ b/heartbeat/ClusterMon 2020-03-27 12:09:23.636845893 +0100
|
||
|
@@ -86,7 +86,7 @@
|
||
|
PID file location to ensure only one instance is running
|
||
|
</longdesc>
|
||
|
<shortdesc lang="en">PID file</shortdesc>
|
||
|
-<content type="string" default="/tmp/ClusterMon_${OCF_RESOURCE_INSTANCE}.pid" />
|
||
|
+<content type="string" default="${HA_RSCTMP}/ClusterMon_${OCF_RESOURCE_INSTANCE}.pid" />
|
||
|
</parameter>
|
||
|
|
||
|
<parameter name="htmlfile" unique="1" required="0">
|
||
|
@@ -94,7 +94,7 @@
|
||
|
Location to write HTML output to.
|
||
|
</longdesc>
|
||
|
<shortdesc lang="en">HTML output</shortdesc>
|
||
|
-<content type="string" default="/tmp/ClusterMon_${OCF_RESOURCE_INSTANCE}.html" />
|
||
|
+<content type="string" default="${HA_RSCTMP}/ClusterMon_${OCF_RESOURCE_INSTANCE}.html" />
|
||
|
</parameter>
|
||
|
</parameters>
|
||
|
|
||
|
@@ -233,8 +233,8 @@
|
||
|
fi
|
||
|
|
||
|
: ${OCF_RESKEY_update:="15000"}
|
||
|
-: ${OCF_RESKEY_pidfile:="/tmp/ClusterMon_${OCF_RESOURCE_INSTANCE}.pid"}
|
||
|
-: ${OCF_RESKEY_htmlfile:="/tmp/ClusterMon_${OCF_RESOURCE_INSTANCE}.html"}
|
||
|
+: ${OCF_RESKEY_pidfile:="${HA_RSCTMP}/ClusterMon_${OCF_RESOURCE_INSTANCE}.pid"}
|
||
|
+: ${OCF_RESKEY_htmlfile:="${HA_RSCTMP}/ClusterMon_${OCF_RESOURCE_INSTANCE}.html"}
|
||
|
|
||
|
OCF_RESKEY_update=`expr $OCF_RESKEY_update / 1000`
|
||
|
|
||
|
diff -uNr a/heartbeat/sapdb-nosha.sh b/heartbeat/sapdb-nosha.sh
|
||
|
--- a/heartbeat/sapdb-nosha.sh 2018-06-29 14:05:02.000000000 +0200
|
||
|
+++ b/heartbeat/sapdb-nosha.sh 2020-03-27 12:07:16.183958164 +0100
|
||
|
@@ -740,5 +740,5 @@
|
||
|
}
|
||
|
|
||
|
# Set a tempfile and make sure to clean it up again
|
||
|
-TEMPFILE="/tmp/SAPDatabase.$$.tmp"
|
||
|
-trap trap_handler INT TERM
|
||
|
\ No newline at end of file
|
||
|
+TEMPFILE="${HA_RSCTMP}/SAPDatabase.$$.tmp"
|
||
|
+trap trap_handler INT TERM
|