1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +02:00
This commit is contained in:
Robin Appelman 2021-08-03 14:06:32 +02:00
commit c8645f515d
3 changed files with 3 additions and 2 deletions

View file

@ -31,7 +31,6 @@ ADD configs/nginx-app.conf /etc/nginx/
RUN mkdir --parent /var/log/cron RUN mkdir --parent /var/log/cron
ADD configs/cron.conf /etc/oc-cron.conf ADD configs/cron.conf /etc/oc-cron.conf
RUN crontab /etc/oc-cron.conf
ADD misc/bootstrap.sh misc/occ misc/tests misc/phpunit misc/install misc/occ misc/integration /usr/local/bin/ ADD misc/bootstrap.sh misc/occ misc/tests misc/phpunit misc/install misc/occ misc/integration /usr/local/bin/
ADD configs/sudoers /etc/sudoers.d/haze ADD configs/sudoers /etc/sudoers.d/haze

View file

@ -1,2 +1,2 @@
# m h dom mon dow command # m h dom mon dow command
*/15 * * * * sudo -u www-data php -f /var/www/owncloud/cron.php >> /var/log/cron/owncloud.log 2>&1 */5 * * * * sudo -u haze php -f /var/www/html/cron.php >> /var/log/cron/haze.log 2>&1

View file

@ -60,6 +60,8 @@ then
sed -i '/\/\/PLACEHOLDER/ r /root/azure.php' /var/www/html/config/config.php sed -i '/\/\/PLACEHOLDER/ r /root/azure.php' /var/www/html/config/config.php
fi fi
crontab /etc/oc-cron.conf
/usr/sbin/cron -f & /usr/sbin/cron -f &
/usr/bin/redis-server --protected-mode no & /usr/bin/redis-server --protected-mode no &
/usr/local/bin/bootstrap-nginx.sh /usr/local/bin/bootstrap-nginx.sh