infra/roles/pihole/templates/unbound-entrypoint.sh.j2

11 lines
208 B
Django/Jinja

#!/bin/bash
set -e
echo "setting uid for _unbound user to same as pihole: {{ pihole_uid }}"
groupmod -g {{ pihole_gid }} _unbound
usermod -u {{ pihole_uid }} -g {{ pihole_gid }} _unbound
exec /unbound.sh