diff --git a/Dockerfile b/Dockerfile index 138b508..7ac71d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,6 +28,7 @@ COPY --from=build /usr/share/zoneinfo/UTC /etc/localtime # Create directories RUN install -dm 2750 -o root -g root /etc/monit.d +RUN install -dm 2750 -o root -g root /etc/monit.d/external/ RUN install -dm 2750 -o root -g root /var/lib/monit # Install config diff --git a/monitrc b/monitrc index 40585f6..a1a1748 100644 --- a/monitrc +++ b/monitrc @@ -18,3 +18,4 @@ check program zeroconf if status = 0 then unmonitor include /etc/monit.d/*.conf +include /etc/monit.d/external/*.conf