feat: provide external configuration
This commit is contained in:
parent
a28eb9596d
commit
1eae4208e8
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
1
monitrc
1
monitrc
|
@ -18,3 +18,4 @@ check program zeroconf
|
|||
if status = 0 then unmonitor
|
||||
|
||||
include /etc/monit.d/*.conf
|
||||
include /etc/monit.d/external/*.conf
|
||||
|
|
Loading…
Reference in a new issue