]> arthur.barton.de Git - netdata.git/commitdiff
mkdir log
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sat, 3 May 2014 18:41:48 +0000 (21:41 +0300)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sat, 3 May 2014 18:41:48 +0000 (21:41 +0300)
netdata.start

index c129293ce05a7ebabe003078f427ff37226e83be..fbea969cc76c5f618ef34400289261fa0c3efdd5 100755 (executable)
@@ -27,6 +27,11 @@ NETDATA_CONFIG_PORT=19999
 # our web files
 NETDATA_CONFIG_WEB_DIR=web
 
+if [ ! -d log ]
+then
+       mkdir log || exit 1
+fi
+
 if [ -f conf.d/netdata.conf ]
 then
        x="`grep "\[global\]" conf.d/netdata.conf`"