summarylogtreecommitdiffstats
path: root/zifd.install
blob: bf42241f1e670d570e7a2a60ace29855e4f6ba86 (plain)
1
2
3
4
5
6
7
8
9

post_install() {
    useradd -c "Zif: Decentralised BitTorrent index" -r -s /usr/bin/nologin zif

    chown -R zif /etc/zif /var/lib/zif
    chmod 700 /etc/zif /etc/zif/tor /var/lib/zif
    chmod 600 /etc/zif/tor/*
}