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 }