Debian Codegraph @

debian/hippotat-common.postinst

raw
1 #!/bin/sh
2 set -e
3
4 #DEBHELPER#
5
6 adduser --system --group --force-badname --shell=/bin/bash \
7 --quiet --home /etc/hippotat _hippotat
8
9 umask 077
10
11 pd=/etc/hippotat/secrets.d
12 test -d $pd || \
13 install -m 750 -o root -g _hippotat -d $pd