1
0
Fork 0
mirror of https://github.com/librenms/docker.git synced 2026-01-23 10:15:22 +00:00

Fix log file permissions (#66)

This commit is contained in:
CrazyMax 2020-04-13 21:16:02 +02:00
parent 286cd8d31d
commit ca84dd49cb
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
2 changed files with 5 additions and 0 deletions

View file

@ -1,5 +1,9 @@
# Changelog
## 1.62.2-RC2 (2020/04/13)
* Fix log file permissions (#66)
## 1.62.2-RC1 (2020/04/04)
* LibreNMS 1.62.2

View file

@ -85,6 +85,7 @@ sed -i -e "s/RANDOMSTRINGGOESHERE/${LIBRENMS_SNMP_COMMUNITY}/" /etc/snmp/snmpd.c
# Init files and folders
echo "Initializing LibreNMS files / folders..."
mkdir -p /data/config /data/logs /data/monitoring-plugins /data/rrd
touch /data/logs/librenms.log
rm -rf ${LIBRENMS_PATH}/logs
rm -f ${LIBRENMS_PATH}/config.d/*