summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorIlya <ilyamaschenko@gmail.com>2017-05-30 15:10:42 +0900
committerIlya <ilyamaschenko@gmail.com>2017-05-30 15:10:42 +0900
commitf81f5734f8207db73247268e365d77eb2795946a (patch)
tree519cfe7583c9c27a6d5940852eb6c6bda1265754 /installer
parentb4f5f65a7d4e1f26f646b9128a411863165b6662 (diff)
web_log plugin: add netdata to the "squid" and "proxy" groups
Diffstat (limited to 'installer')
-rw-r--r--installer/functions.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/installer/functions.sh b/installer/functions.sh
index 3efeb45c66..e15fbe5e6b 100644
--- a/installer/functions.sh
+++ b/installer/functions.sh
@@ -632,6 +632,8 @@ NETDATA_ADDED_TO_VARNISH=0
NETDATA_ADDED_TO_HAPROXY=0
NETDATA_ADDED_TO_ADM=0
NETDATA_ADDED_TO_NSD=0
+NETDATA_ADDED_TO_PROXY=0
+NETDATA_ADDED_TO_SQUID=0
add_netdata_user_and_group() {
if [ ${UID} -eq 0 ]
then
@@ -643,6 +645,8 @@ add_netdata_user_and_group() {
portable_add_user_to_group haproxy netdata && NETDATA_ADDED_TO_HAPROXY=1
portable_add_user_to_group adm netdata && NETDATA_ADDED_TO_ADM=1
portable_add_user_to_group nsd netdata && NETDATA_ADDED_TO_NSD=1
+ portable_add_user_to_group proxy netdata && NETDATA_ADDED_TO_PROXY=1
+ portable_add_user_to_group squid netdata && NETDATA_ADDED_TO_SQUID=1
return 0
fi