Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
Fixes apache vhost file
Browse files Browse the repository at this point in the history
  • Loading branch information
setiseta committed May 31, 2015
1 parent 0389b67 commit 3d563d4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
===
Expand Down
4 changes: 2 additions & 2 deletions apache-observium
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
AllowOverride All
Require all granted
</Directory>
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
</VirtualHost>
6 changes: 3 additions & 3 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3d563d4

Please sign in to comment.