coredns-deployment/debian/coredns.postinst

17 lines
300 B
Text
Raw Permalink Normal View History

2017-11-13 15:50:07 +01:00
#!/bin/sh
set -e
case "$1" in
configure)
if ! getent passwd coredns > /dev/null; then
adduser --system --disabled-password --disabled-login --home /var/lib/coredns \
--quiet --force-badname --group coredns
fi
;;
esac
#DEBHELPER#
exit 0