Cron updates

This commit is contained in:
Andrei Condurachi 2020-11-21 23:30:47 +02:00
parent 81be6eff72
commit 44bfec665e
1 changed files with 0 additions and 4 deletions

4
run.sh
View File

@ -13,10 +13,6 @@ exec service crond start
# Cron requires that each entry in a crontab end in a newline character. If the last entry in a crontab is missing the newline, cron will consider the crontab (at least partially) broken and refuse to install it.
(crontab -l; echo "") | crontab -
# syslog option '-Z' was changed to '-t', change this in /etc/conf.d/syslog so that syslog (and then cron) actually starts
# https://gitlab.alpinelinux.org/alpine/aports/-/issues/9279
RUN sed -i 's/SYSLOGD_OPTS="-Z"/SYSLOGD_OPTS="-t"/g' /etc/conf.d/syslog
# Start Apache, PHP-FPM and Cron
exec /usr/sbin/httpd -D FOREGROUND -f /etc/apache2/httpd.conf &
exec /usr/sbin/php-fpm7 -F