(simatec) Fix rsyslog
This commit is contained in:
parent
b5b900f815
commit
0bb376fb1a
2 changed files with 4 additions and 4 deletions
|
@ -33,8 +33,7 @@ RUN apt-get update && \
|
||||||
ln -sf /etc/piler/piler-nginx.conf /etc/nginx/sites-enabled && \
|
ln -sf /etc/piler/piler-nginx.conf /etc/nginx/sites-enabled && \
|
||||||
echo "www-data ALL=NOPASSWD: /etc/init.d/rc.piler reload" > /etc/sudoers.d/piler && \
|
echo "www-data ALL=NOPASSWD: /etc/init.d/rc.piler reload" > /etc/sudoers.d/piler && \
|
||||||
rm -f ${PACKAGE}_${TARGETARCH}.deb /etc/nginx/sites-enabled/default /etc/piler/piler.key /etc/piler/piler.pem /etc/piler/config-site.php && \
|
rm -f ${PACKAGE}_${TARGETARCH}.deb /etc/nginx/sites-enabled/default /etc/piler/piler.key /etc/piler/piler.pem /etc/piler/config-site.php && \
|
||||||
crontab -u $PILER_USER /usr/share/piler/piler.cron \
|
crontab -u $PILER_USER /usr/share/piler/piler.cron
|
||||||
sed -i '/imklog/s/^/#/' /etc/rsyslog.conf
|
|
||||||
|
|
||||||
VOLUME ["/etc/piler","/var/piler/store","/var/piler/manticore","/var/piler/imap","/var/piler/stat","/var/spool/cron/crontabs"]
|
VOLUME ["/etc/piler","/var/piler/store","/var/piler/manticore","/var/piler/imap","/var/piler/stat","/var/spool/cron/crontabs"]
|
||||||
|
|
||||||
|
@ -47,6 +46,8 @@ RUN apt clean && \
|
||||||
apt autoremove && \
|
apt autoremove && \
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
|
RUN sed -i '/imklog/ s/^/#/' /etc/rsyslog.conf
|
||||||
|
|
||||||
COPY start.sh /start.sh
|
COPY start.sh /start.sh
|
||||||
|
|
||||||
# chmod start.sh
|
# chmod start.sh
|
||||||
|
|
|
@ -190,9 +190,8 @@ start_services() {
|
||||||
service cron start
|
service cron start
|
||||||
service php8.3-fpm start
|
service php8.3-fpm start
|
||||||
service nginx start
|
service nginx start
|
||||||
#rsyslogd
|
|
||||||
rm -f /run/rsyslogd.pid
|
rm -f /run/rsyslogd.pid
|
||||||
service rsyslog start
|
rsyslogd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue