initial commit

This commit is contained in:
melonarc
2023-12-24 00:33:54 +01:00
parent 9d6b690c28
commit 359fff9362
23 changed files with 110 additions and 101 deletions
@@ -0,0 +1,15 @@
#!/usr/bin/with-contenv bash
NEXTCLOUD_BASE="/config/www/nextcloud"
NOTIFY_PUSH_BIN="$NEXTCLOUD_BASE/apps/notify_push/bin/$(arch)/notify_push"
# Check if notify-push is installed
if [ ! -d "$NEXTCLOUD_BASE/apps/notify_push/" ]; then
echo "**** Notify-push folder not found. Download and install the notify-push/client-push app and restart the container. ****"
exit 1
fi
# Check cpu arch
if [ ! -f "$NOTIFY_PUSH_BIN" ]; then
echo "**** Did not find a matching notify-push binary for your cpu arch: $(arch) ****"
exit 1
fi
@@ -0,0 +1 @@
oneshot
@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-mod-nextcloud-notify-push/run