PKGBUILDs/community/unbound/install
2017-02-13 19:27:31 +00:00

6 lines
249 B
Plaintext

post_install() {
getent group unbound &>/dev/null || groupadd -r unbound >/dev/null
getent passwd unbound &>/dev/null || useradd -r -g unbound -d /etc/unbound -s /bin/false -c unbound unbound >/dev/null
cp -f /etc/trusted-key.key /etc/unbound/
}