librenms
This commit is contained in:
parent
c5963f8a21
commit
7e6453a45a
@ -58,7 +58,7 @@ $STD useradd librenms -d /opt/librenms -M -r -s "$(which bash)"
|
|||||||
fetch_and_deploy_gh_release "librenms/librenms"
|
fetch_and_deploy_gh_release "librenms/librenms"
|
||||||
setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
|
setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
|
||||||
setfacl -R -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
|
setfacl -R -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
|
||||||
pip3 install --no-user -r /opt/librenms/requirements.txt
|
$STD pip3 install --no-user -r /opt/librenms/requirements.txt
|
||||||
cat <<EOF >/opt/librenms/.env
|
cat <<EOF >/opt/librenms/.env
|
||||||
DB_DATABASE=${DB_NAME}
|
DB_DATABASE=${DB_NAME}
|
||||||
DB_USERNAME=${DB_USER}
|
DB_USERNAME=${DB_USER}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user