From 3d563d48dee121f9ba69e066d6d6e8458cee77d3 Mon Sep 17 00:00:00 2001 From: setiseta Date: Sun, 31 May 2015 14:08:12 +0200 Subject: [PATCH] Fixes apache vhost file --- README.md | 5 +++++ apache-observium | 4 ++-- init.sh | 6 +++--- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 875922a..8d929fc 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,11 @@ Environment Vars - **POLLER**: Set poller count. Defaults to `16` - **TZ**: Set timezone. Defaults to `UTC` +--- +Convert from older version with integrated DB to new +=== + + --- Credits === diff --git a/apache-observium b/apache-observium index 71d932c..aa0d793 100644 --- a/apache-observium +++ b/apache-observium @@ -10,8 +10,8 @@ AllowOverride All Require all granted - ErrorLog /opt/observium/logs/error_log + ErrorLog /data/logs/error_log LogLevel warn - CustomLog /opt/observium/logs/access_log combined + CustomLog /data/logs/access_log combined ServerSignature On diff --git a/init.sh b/init.sh index c8284fe..a4dda48 100644 --- a/init.sh +++ b/init.sh @@ -2,15 +2,15 @@ atd -if [ ! -f /data/config ]; then +if [ ! -d /data/config ]; then mkdir /data/config chown nobody:users /data/config fi -if [ ! -f /data/rrd ]; then +if [ ! -d /data/rrd ]; then mkdir /data/rrd chown nobody:users /data/rrd fi -if [ ! -f /data/logs ]; then +if [ ! -d /data/logs ]; then mkdir /data/logs chown nobody:users /data/logs fi