summarylogtreecommitdiffstats
path: root/nagvis.install
blob: 423f28fc22c8ef8ada82566f5dc90581a229bfef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_install() {
  chown -R 33:33 /usr/share/nagvis/

  echo '==> Enable php and uncomment extension=pdo_sqlite.so in /etc/php/php.ini
    Include conf/extra/nagvis.conf in httpd.conf, then copy
    /usr/share/nagvis/etc/nagvis.ini.php-sample to /usr/share/nagvis/etc/nagvis.ini.php
    Restart Apache and browse to http://localhost/nagvis
    The default logins are "admin, admin" and "guest, guest"'
}

post_upgrade() {
  post_install
}