File: serf.postinst

package info (click to toggle)
golang-github-hashicorp-serf 0.8.5~ds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,292 kB
  • sloc: sh: 420; python: 11; makefile: 7
file content (14 lines) | stat: -rw-r--r-- 247 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

case "$1" in
    configure|reconfigure)
        adduser --system --disabled-password --disabled-login --home /nonexistent \
       	    --no-create-home --quiet --force-badname --group _serf
        ;;
esac

#DEBHELPER#

exit 0