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

7 lines
147 B
Bash
Executable file

#!/bin/sh
set -u
set -e
echo "== Running before-starting hooks as $(id -un) user =="
su -l -s /bin/sh www-data -c /app/gx.before-starting.www.sh