service-nextcloud/hooks/gx.post-installation.root.sh

9 lines
152 B
Bash
Raw Normal View History

2024-07-20 16:47:28 +02:00
#!/bin/sh
set -u
set -e
2024-07-20 16:54:11 +02:00
echo "== Running post-installation hooks as $(id -un) user =="
2024-07-20 16:47:28 +02:00
su -l -s /bin/sh www-data -c /app/gx.post-installation.www.sh