]> arthur.barton.de Git - netdata.git/commitdiff
chown log and conf.d
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Thu, 8 May 2014 18:17:48 +0000 (21:17 +0300)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Thu, 8 May 2014 18:17:48 +0000 (21:17 +0300)
netdata.start

index 6504d1e7d1e2994247f912ced452e7de2462b7c2..70b7dea7413acc7b5615df7767e173b2f2b16466 100755 (executable)
@@ -83,7 +83,7 @@ sleep 2
 if [ "$USER" = "root" -a ! -z "$NETDATA_CONFIG_USER" -a -d "$NETDATA_CONFIG_WEB_DIR" ]
 then
        echo "Chaning ownership of web files in $NETDATA_CONFIG_WEB_DIR to $NETDATA_CONFIG_USER"
-       chown -R "$NETDATA_CONFIG_USER" "$NETDATA_CONFIG_WEB_DIR" || exit 1
+       chown -R "$NETDATA_CONFIG_USER" "$NETDATA_CONFIG_WEB_DIR" conf.d log || exit 1
        chmod    0775 "$NETDATA_CONFIG_WEB_DIR" || exit 1
 fi