diff --git a/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh b/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh index 3259e874e..eb1d9bd82 100755 --- a/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh +++ b/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh @@ -28,6 +28,10 @@ done # CHECK STATUS # ################ +# Get launcher +LAUNCHER="sudo -u abc php /data/config/www/nextcloud/occ" +LAUNCHER="${LAUNCHER:-occ}" + # If not installed, or files not available if [[ $($LAUNCHER -V 2>&1) == *"not installed"* ]] || [ ! -f /data/config/www/nextcloud/version.php ]; then bashio::log.green "--------------------------------------------------------------------------------------------------------------"