update syslog-ng config
This commit is contained in:
parent
27fda5e854
commit
16a9cc3114
@ -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 .
|
|
@ -3,13 +3,11 @@ LABEL maintainer="Sebastian Hugentobler <sebastian@vanwa.ch>"
|
|||||||
|
|
||||||
ENV S6_OVERLAY_VERSION=v1.21.7.0
|
ENV S6_OVERLAY_VERSION=v1.21.7.0
|
||||||
|
|
||||||
RUN apk --no-cache add libressl syslog-ng incron && \
|
RUN apk --no-cache add libressl syslog-ng
|
||||||
wget -qO- https://github.com/just-containers/s6-overlay/releases/download/$S6_OVERLAY_VERSION/s6-overlay-amd64.tar.gz | tar -xz -C / && \
|
RUN 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 upgrade
|
RUN apk --no-cache upgrade
|
||||||
|
|
||||||
ADD /rootfs /
|
ADD /rootfs /
|
||||||
|
|
||||||
ENTRYPOINT ["/init"]
|
ENTRYPOINT ["/init"]
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/with-contenv sh
|
|
||||||
|
|
||||||
exec /usr/sbin/incrond -n
|
|
@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/with-contenv sh
|
|
||||||
|
|
||||||
cd /var
|
|
||||||
exec syslog-ng --foreground
|
|
@ -1,4 +1,4 @@
|
|||||||
@version: 3.9
|
@version: 3.1.13
|
||||||
|
|
||||||
options {
|
options {
|
||||||
stats_freq (0);
|
stats_freq (0);
|
||||||
@ -15,7 +15,7 @@ source s_local {
|
|||||||
};
|
};
|
||||||
|
|
||||||
destination catchall {
|
destination catchall {
|
||||||
pipe("/dev/stdout" template("${MSG}\n"));
|
file("/dev/stdout" template("${MSG}\n"));
|
||||||
};
|
};
|
||||||
|
|
||||||
log {
|
log {
|
||||||
|
Loading…
Reference in New Issue
Block a user