summarylogtreecommitdiffstats
path: root/netbox.install
blob: eb165b769da883845450c5522e74c8f310648cc8 (plain)
1
2
3
4
5
6
7
8
9
10
post_install() {
    chown -R netbox:netbox /var/lib/netbox
    echo "Configure netbox in /etc/netbox/configuration.py"
    echo "After configuring run /etc/netbox/upgrade.sh as root"
}

post_upgrade() {
    chown -R netbox:netbox /var/lib/netbox
    sh /etc/netbox/upgrade.sh
}