update syslog-ng config

This commit is contained in:
Sebastian Hugentobler 2018-12-03 13:58:39 +01:00
parent 27fda5e854
commit 16a9cc3114
5 changed files with 4 additions and 22 deletions

View File

@ -1,9 +0,0 @@
image: alpine/edge
packages:
- docker
sources:
- https://git.sr.ht/~shu/docker_alpine_s6
tasks:
- build: |
cd docker_alpine_s6
docker build -t alpine-s6 .

View File

@ -3,13 +3,11 @@ LABEL maintainer="Sebastian Hugentobler <sebastian@vanwa.ch>"
ENV S6_OVERLAY_VERSION=v1.21.7.0
RUN apk --no-cache add libressl syslog-ng incron && \
wget -qO- https://github.com/just-containers/s6-overlay/releases/download/$S6_OVERLAY_VERSION/s6-overlay-amd64.tar.gz | tar -xz -C / && \
apk del libressl
RUN apk --no-cache add libressl syslog-ng
RUN wget -qO- https://github.com/just-containers/s6-overlay/releases/download/$S6_OVERLAY_VERSION/s6-overlay-amd64.tar.gz | tar -xz -C
RUN apk --no-cache upgrade
ADD /rootfs /
ENTRYPOINT ["/init"]

View File

@ -1,3 +0,0 @@
#!/usr/bin/with-contenv sh
exec /usr/sbin/incrond -n

View File

@ -1,4 +0,0 @@
#!/usr/bin/with-contenv sh
cd /var
exec syslog-ng --foreground

View File

@ -1,4 +1,4 @@
@version: 3.9
@version: 3.1.13
options {
stats_freq (0);
@ -15,7 +15,7 @@ source s_local {
};
destination catchall {
pipe("/dev/stdout" template("${MSG}\n"));
file("/dev/stdout" template("${MSG}\n"));
};
log {