summarylogtreecommitdiffstats
path: root/librenms.tmpfiles
AgeCommit message (Collapse)Author
2019-06-14PKGBUILD: Upgrading to 1.52. Adding uwsgi configuration.David Runge
librenms.tmpfiles: Adding /run/librenms.
2019-02-28librenms.logrotate: Removing, as it's included in source.David Runge
librenms.tmpfiles: Renaming. apache.example.conf: Using FHS compliant paths. nginx.example.conf: Using FHS compliant log paths. librenms.sysusers: Do not add librenms to http group, as the shared group for all webapps is unsafe as it allows access to data of other applications. librenms.tmpfiles: Adding all transient files/folders in FHS compliant paths. PKGBUILD: Upgrading to 1.48.1. Switching to a FHS compliant setup, in which state files are below /var/lib/librenms, cache is below /var/cache/librenms, logs below /var/log/librenms and configuration below /etc/webapps/librenms. This adds quite a few manual file installs (as they would otherwise have yolo 755 all over the place or not be required at all). Additionally composer is used in build(), therefore that function is abused to also handle configuration/script modifications. There are still references of fping6 (Debian only) all over the place, so that has to be setup in the configuration manually. Most notably, this setup moves away from a librenms user, that is in the http group (as that is unsafe), so wsgi setups behind a webserver (or the webserver itself) need to use the proper GID/UID of librenms for all operations towards state files/logs.