We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ae0a16 commit a11d539Copy full SHA for a11d539
Dockerfile
@@ -12,7 +12,7 @@ RUN apt-get update \
12
&& rm -rf /var/lib/apt/lists/* \
13
&& chmod +x /usr/local/bin/*
14
15
-HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 CMD pgrep -f openvpn || exit 1
+HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 CMD grep -q openvpn /proc/1/cmdline || exit 1
16
17
EXPOSE 1194/udp
18
0 commit comments