Frontail
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user