Add healthcheck script for iSCSId
This patch adds script for docker health check of iscsid service. The script checks the service using socat. Change-Id: I8336d5778354fc21a3d9fb394fe8776febcc9173
This commit is contained in:
parent
9f40ac8745
commit
225819e37c
4
healthcheck/iscsid
Normal file
4
healthcheck/iscsid
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
socat - ABSTRACT-CONNECT:ISCSIADM_ABSTRACT_NAMESPACE </dev/null
|
||||||
|
exit $?
|
Loading…
Reference in New Issue
Block a user