From 03ed19af83d7ebdd444705e670c54fe7a95fc188 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Val=C3=AD=C4=8Dek=20=28YCNet=29?= Date: Sun, 28 Oct 2018 16:52:59 +0100 Subject: [PATCH] Frontail --- Dockerfile | 3 +++ executor-conf | 1 + 2 files changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index ea1c2b7..47e00db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,9 @@ RUN rc-update add executor-conf default RUN sed 's/^tty.*$//g' -i /etc/inittab # disable motd RUN echo > /etc/motd +# install tail logger +RUN apk add npm +RUN npm i frontail -g diff --git a/executor-conf b/executor-conf index 210f877..93bf88d 100755 --- a/executor-conf +++ b/executor-conf @@ -11,5 +11,6 @@ start() { # pidfile touch /var/run/cloner.pid chown executor:executor /var/run/cloner.pid + frontail /var/log/messages /home/executor/cron.log --daemonize }