summarylogtreecommitdiffstats
path: root/dat-gateway.install
blob: 9cfb842bbbd92ca68d7441c362a576636c4d4556 (plain)
1
2
3
4
5
6
7
8
9
USER=dat-gateway

post_install() {
    getent passwd ${USER} &>/dev/null || {
        echo -n ">>> Creating ${USER} user... "
        useradd --system --user-group ${USER}
        echo "done"
    }
}