diff --git a/scripts/_common.sh b/scripts/_common.sh index e961dc2..d192f7c 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -57,23 +57,27 @@ configure_netdata() { # Add a web_log entry for every YunoHost domain netdata_add_yunohost_web_logs () { - local web_log_file="$final_path/etc/netdata/python.d/web_log.conf" + local web_log_file="$final_path/etc/netdata/go.d/web_log.conf" if [ ! -f $web_log_file ] ; then - cp $final_path/etc/netdata/orig/python.d/web_log.conf $web_log_file + cp $final_path/etc/netdata/orig/go.d/web_log.conf $web_log_file fi if [ -z "$(grep "YUNOHOST" $web_log_file)" ] ; then echo "# ------------YUNOHOST DOMAINS---------------" >> $web_log_file for domain in $(yunohost domain list --output-as plain); do domain_label=${domain//\./_} # Replace "." by "_" for the domain label cat >> $web_log_file <