This commit is contained in:
2018-10-28 16:52:59 +01:00
parent e9069ae211
commit 03ed19af83
2 changed files with 4 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}