summaryrefslogtreecommitdiffhomepage
path: root/debian/keysafe-server.postinst
blob: 04ce1e82044464ada5bfcbb5d2db07b34be2e479 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

if ! getent passwd _keysafe >/dev/null; then
    adduser --system --group --disabled-login --disabled-password \
            --home /var/lib/keysafe _keysafe
    chmod 700 /var/lib/keysafe
fi

#DEBHELPER#