summaryrefslogtreecommitdiffhomepage
path: root/debian/keysafe-server.postinst
blob: c459f0f910e219c95a42eb3917297c0aca404575 (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#