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

9 lines
147 B
Bash
Executable file

#!/bin/sh
set -u
set -e
echo "== Running post-installation hooks as root user =="
su -l -s /bin/sh www-data -c /app/gx.post-installation.www.sh