Cron updates
This commit is contained in:
parent
81be6eff72
commit
44bfec665e
4
run.sh
4
run.sh
|
|
@ -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.
|
# 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 -
|
(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
|
# Start Apache, PHP-FPM and Cron
|
||||||
exec /usr/sbin/httpd -D FOREGROUND -f /etc/apache2/httpd.conf &
|
exec /usr/sbin/httpd -D FOREGROUND -f /etc/apache2/httpd.conf &
|
||||||
exec /usr/sbin/php-fpm7 -F
|
exec /usr/sbin/php-fpm7 -F
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue