Allow nagios to change ssmtp config
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1f05a0d0ed
commit
9ff7bd0781
2 changed files with 5 additions and 5 deletions
|
|
@ -18,13 +18,13 @@ RUN apk add --no-cache \
|
|||
nagios-plugins-ssl_validity \
|
||||
nagios-web \
|
||||
nrpe-plugin \
|
||||
ssmtp
|
||||
|
||||
USER nagios
|
||||
ssmtp && \
|
||||
chown nagios /etc/ssmtp/ssmtp.conf
|
||||
|
||||
COPY FREE_send_notification.sh /usr/bin/FREE_send_notification.sh
|
||||
|
||||
COPY entrypoint.sh /docker-entrypoint.sh
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
|
||||
USER nagios
|
||||
|
||||
CMD ["/usr/sbin/nagios", "/etc/nagios/nagios.cfg"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue