MT#10689 MT#5715 move lock to /var/run/heartbeat dir for security reasons

Change-Id: I86fdf0fc29814229d84f0b9b2ce838eca2d0e2e6
changes/59/659/2
Victor Seva 12 years ago
parent 404c886721
commit 1c0aef12b1

@ -11,7 +11,7 @@
+ (
+ flock -x -w 2 9 || exit 1;
+ (echo ">>>"; cat -; echo "<<<";)| cat - >> $HA_FIFO
+ ) 9>/tmp/clustermsg.lock
+ ) 9>"${HA_VARRUN}/heartbeat/clustermsg.lock"
}
+

Loading…
Cancel
Save