mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-25 08:56:51 +00:00
put notify-push into its own container
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
56e3f27d6c
commit
9b1421980f
6 changed files with 98 additions and 22 deletions
|
|
@ -131,14 +131,4 @@ if ! sudo -E -u www-data bash /entrypoint.sh; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Correctly set CPU_ARCH for notify_push
|
||||
CPU_ARCH="$(uname -m)"
|
||||
export CPU_ARCH
|
||||
if [ -z "$CPU_ARCH" ]; then
|
||||
echo "Could not get processor architecture. Exiting."
|
||||
exit 1
|
||||
elif [ "$CPU_ARCH" != "x86_64" ]; then
|
||||
export CPU_ARCH="aarch64"
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue