File: pdns-recursor.postinst

package info (click to toggle)
pdns-recursor 4.1.11-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 6,708 kB
  • sloc: cpp: 54,116; sh: 11,872; makefile: 453; xml: 37
file content (23 lines) | stat: -rw-r--r-- 413 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
set -e

case "$1" in
  configure)
    addgroup --system pdns
    adduser --system --home /var/spool/powerdns --shell /bin/false --ingroup pdns --disabled-password --disabled-login --gecos "PowerDNS" pdns
  ;;

  *)
    echo "postinst called with unknown argument \`$1'" >&2
    exit 1
  ;;
esac

# Startup errors should never cause dpkg to fail.
initscript_error() {
    return 0
}

#DEBHELPER#

exit 0