summarylogtreecommitdiffstats
path: root/nzbhydra.install
blob: fdb1262717afacba081f635ad3a5f4e6d1adbd16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_install() {
    systemd-sysusers nzbhydra.conf

    mkdir -p /var/lib/nzbhydra
    chown -R nzbhydra: /var/lib/nzbhydra

    mkdir -p /etc/nzbhydra
    chown -R nzbhydra /etc/nzbhydra
}

post_upgrade() {
    chown -R nzbhydra: /var/lib/nzbhydra
}