Skip to content

Commit

Permalink
make occ upgrade call part of the container start script
Browse files Browse the repository at this point in the history
  • Loading branch information
lilioid committed Oct 7, 2024
1 parent f079ba6 commit e312101
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nextcloud/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ nginx

export USER=www-data HOME=/home/www-data
mkdir -p /run/php

runuser -u www-data php /var/www/nextcloud/occ upgrade

exec /usr/sbin/php-fpm8.2 --nodaemonize --fpm-config /etc/php/8.2/fpm/php-fpm.conf

0 comments on commit e312101

Please sign in to comment.