mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
fix cron
This commit is contained in:
parent
93c20bc530
commit
c8645f515d
3 changed files with 3 additions and 2 deletions
|
|
@ -31,7 +31,6 @@ ADD configs/nginx-app.conf /etc/nginx/
|
|||
|
||||
RUN mkdir --parent /var/log/cron
|
||||
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 configs/sudoers /etc/sudoers.d/haze
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
# 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
|
||||
|
|
|
|||
|
|
@ -60,6 +60,8 @@ then
|
|||
sed -i '/\/\/PLACEHOLDER/ r /root/azure.php' /var/www/html/config/config.php
|
||||
fi
|
||||
|
||||
crontab /etc/oc-cron.conf
|
||||
|
||||
/usr/sbin/cron -f &
|
||||
/usr/bin/redis-server --protected-mode no &
|
||||
/usr/local/bin/bootstrap-nginx.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue