blob: a7dbdd5d789b18448424d73b29d28b112ccb5388 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Maintainer: Nils Czernia <nils[at]czserver[dot]de>
_datadir=/usr/share/webapps/librenms
_etcdir=/etc/webapps/librenms
post_install() {
useradd librenms -d /usr/share/webapps/librenms -M -r
usermod -a -G librenms http
chown -R librenms:librenms /usr/share/webapps/${pkgname}
chown -R librenms:librenms /etc/webapps/${pkgname}
chown http:http /var/log/${pkgname}
echo "You have to configure the database configuration"
echo "in ${_etcdir}/config.php"
}
|