change entrypoint of nextcloud container to root

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2022-10-11 20:29:52 +02:00
parent ce47fab555
commit d3d8b11e28
6 changed files with 27 additions and 20 deletions

View file

@ -1,5 +1,9 @@
#!/bin/bash
if [[ "$EUID" = 0 ]]; then
sudo -u www-data -s
fi
SUBJECT="$1"
MESSAGE="$2"