Frontail
This commit is contained in:
parent
e9069ae211
commit
03ed19af83
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user