package-stuff/coredns/postinst

17 lines
300 B
Plaintext
Raw Permalink Normal View History

#!/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