restic_kumar_connector/start.sh

8 lines
220 B
Bash
Raw Permalink Normal View History

2023-10-15 20:17:24 +02:00
#!/usr/bin/env bash
set -e
find /var/www -not -user www-data | grep -q /var && {
echo "ERROR: /var/www or one or more of it's children is not owned by www-data:www-data"
exit 1
}
apachectl -D FOREGROUND