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

9 lines
152 B
Bash
Raw Normal View History

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