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 }