Loading custom_entrypoint.sh +10 −3 Original line number Original line Diff line number Diff line Loading @@ -21,7 +21,14 @@ rsync $rsync_options --include "/eelo/" --exclude '/*' $SRC_DIR/themes/ $DST_DIR /entrypoint.sh "$@" /entrypoint.sh "$@" # force eelo theme to be loaded # force eelo theme to be loaded whoami if [ "$(id -u)" = 0 ]; then su -p www-data -s /bin/sh -c "php /var/www/html/occ config:system:set theme --value eelo" su -p www-data -s /bin/sh -c "php /var/www/html/occ config:system:set theme --value eelo" su -p www-data -s /bin/sh -c "php /var/www/html/occ maintenance:theme:update" su -p www-data -s /bin/sh -c "php /var/www/html/occ maintenance:theme:update" else sh -c "php /var/www/html/occ config:system:set theme --value eelo" sh -c "php /var/www/html/occ maintenance:theme:update" fi echo "NC exits" echo "NC ready!" Loading
custom_entrypoint.sh +10 −3 Original line number Original line Diff line number Diff line Loading @@ -21,7 +21,14 @@ rsync $rsync_options --include "/eelo/" --exclude '/*' $SRC_DIR/themes/ $DST_DIR /entrypoint.sh "$@" /entrypoint.sh "$@" # force eelo theme to be loaded # force eelo theme to be loaded whoami if [ "$(id -u)" = 0 ]; then su -p www-data -s /bin/sh -c "php /var/www/html/occ config:system:set theme --value eelo" su -p www-data -s /bin/sh -c "php /var/www/html/occ config:system:set theme --value eelo" su -p www-data -s /bin/sh -c "php /var/www/html/occ maintenance:theme:update" su -p www-data -s /bin/sh -c "php /var/www/html/occ maintenance:theme:update" else sh -c "php /var/www/html/occ config:system:set theme --value eelo" sh -c "php /var/www/html/occ maintenance:theme:update" fi echo "NC exits" echo "NC ready!"