@cryptotaxi247 / netdata-1 / commits / 8eb004709

removed user creation and permissions of web files

Costa Tsaousis (ktsaou) committed Nov 18, 2015 at 01:14 UTC 8eb0047097927976d3b566d0a2931bb613fce355
1 file changed -6
web/Makefile.am
-6
@@ -12,9 +12,3 @@ dist_web_DATA = \
12 theme.css \
13 $(NULL)
14
15 -install-data-hook:
16 - if [ `id -u` == 0 ]; then \
17 - getent group netdata > /dev/null || groupadd -r netdata; \
18 - getent passwd netdata > /dev/null || useradd -r -g netdata -c netdata -s /sbin/nologin -d / netdata; \
19 - chown -c -R netdata $(DESTDIR)$(cachedir) $(DESTDIR)$(webdir); \
20 - fi