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

8 lines
147 B
Bash
Raw Permalink 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 before-starting hooks as $(id -un) user =="
2024-07-20 16:47:28 +02:00
su -l -s /bin/sh www-data -c /app/gx.before-starting.www.sh