Closed alxwr closed 5 years ago
This looks great! My only complaint is that the librenms user is configured with homedir /home/librenms.
The 'librenms' user is created as a system user account. These would normally not have a homedir in /home/
. Instead I think we should set this to /opt/librenms
. However I still think it would make sense to have the two vars separated just like you did with home
and app_home
. For instance if we should support install on different OS (Solaris comes to mind).
@kpostrup Removed librenms
' homedir.
@aboe76 @kpostrup I added some adjustments to FreeBSD too:
setfacl
does not work on FreeBSD the way it works on Debian. (I wasn't able to get it to work either.)Tested on
@kpostrup (friendly reminder) Do you approve my changes?
@aboe76 If there are no further remarks, please merge! :-)
@alxwr merged it.
@aboe76 Thanks for the merge! :-)
while migrating to Ubuntu 18.04.1 I encountered some bugs and solved them.
librenms
user's homedir, so it must be separate from the application's directory.setfacl
needs packageacl
on Ubuntu 18.04.1.