make sure that notify-push is executable

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-11-08 17:02:15 +01:00
parent c7a6fbba33
commit 04e5c5e592

View file

@ -46,6 +46,10 @@ fi
export DATABASE_URL="postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST/$POSTGRES_DB"
export REDIS_URL="redis://:$REDIS_HOST_PASSWORD@$REDIS_HOST"
# Make the binary executable if possible
ls -l /nextcloud/custom_apps/notify_push/bin/"$CPU_ARCH"/notify_push
chmod +x /nextcloud/custom_apps/notify_push/bin/"$CPU_ARCH"/notify_push
# Run it
/nextcloud/custom_apps/notify_push/bin/"$CPU_ARCH"/notify_push \
--database-prefix="oc_" \