service-nextcloud/hooks/gx.before-starting.root.sh

8 lines
144 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.before-starting.www.sh