diff options
Diffstat (limited to 'librenms.install')
-rw-r--r-- | librenms.install | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/librenms.install b/librenms.install index a7dbdd5d789b..0046b55aa4c1 100644 --- a/librenms.install +++ b/librenms.install @@ -4,12 +4,16 @@ _datadir=/usr/share/webapps/librenms _etcdir=/etc/webapps/librenms post_install() { + echo "Adding new User" useradd librenms -d /usr/share/webapps/librenms -M -r usermod -a -G librenms http + echo "Changing file permissions" chown -R librenms:librenms /usr/share/webapps/${pkgname} chown -R librenms:librenms /etc/webapps/${pkgname} chown http:http /var/log/${pkgname} - + echo "Install new pear modules" + pear install Net_IPv4 + pear install Net_IPv6 echo "You have to configure the database configuration" echo "in ${_etcdir}/config.php" } |