summarylogtreecommitdiffstats
path: root/lbrycrd.install
blob: ab48a09368ed2e77b568dad85659e271c225460b (plain)
1
2
3
4
5
6
7
post_install() {
    getent passwd lbrycrd &>/dev/null || {
        echo -n ">>> Creating lbrycrd user... "
        useradd --system --user-group -m --home /var/lib/lbrycrd lbrycrd
        echo "done"
    } # NOTE: we do not autoremove user due to security concerns (Arch policy)
}