diff options
author | Nils Czernia | 2015-12-15 10:06:17 +0100 |
---|---|---|
committer | Nils Czernia | 2015-12-15 10:06:17 +0100 |
commit | 124e16ac8d3a14cb56d853c079aacc90933f7fef (patch) | |
tree | 467fc498ddf113ddeb06e17f61ff0d5b8d15740e /librenms.install | |
parent | 64e5becd9b70f9c0c2e77f79e71cfc2c25f7697e (diff) | |
download | aur-124e16ac8d3a14cb56d853c079aacc90933f7fef.tar.gz |
Added PHP module depencies
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" } |