PKGBUILDs/community/unbound/install

6 lines
249 B
Text
Raw Normal View History

2015-12-06 17:37:32 +00:00
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
2017-02-13 19:27:31 +00:00
cp -f /etc/trusted-key.key /etc/unbound/
2015-12-06 17:37:32 +00:00
}