summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorTim Wilde <github@krellis.org>2011-10-30 02:54:08 +0200
committerTim Wilde <github@krellis.org>2011-10-30 02:54:08 +0200
commita40ae75d8c76fe578f54cd5afd879de4ae0b744f (patch)
tree8d8e77a9c334b7756fbd04a3741d54617507930e /etc
parent677f0b4d837b4b040d085aedce6f09120a912cdf (diff)
downloadsmokeping-a40ae75d8c76fe578f54cd5afd879de4ae0b744f.tar.gz
smokeping-a40ae75d8c76fe578f54cd5afd879de4ae0b744f.tar.xz
Automatically configure etc/config.dist paths
Diffstat (limited to 'etc')
-rw-r--r--etc/config.dist.in (renamed from etc/config.dist)16
1 files changed, 8 insertions, 8 deletions
diff --git a/etc/config.dist b/etc/config.dist.in
index f641cac..ddae83e 100644
--- a/etc/config.dist
+++ b/etc/config.dist.in
@@ -3,17 +3,17 @@
owner = Peter Random
contact = some@address.nowhere
mailhost = my.mail.host
-sendmail = /usr/lib/sendmail
+sendmail = @SENDMAIL@
# NOTE: do not put the Image Cache below cgi-bin
# since all files under cgi-bin will be executed ... this is not
# good for images.
-imgcache = /home/oetiker/public_html/smokeping-ms/cache
+imgcache = @prefix@/cache
imgurl = cache
-datadir = /tmp/smokeping-ms/data
-piddir = /tmp/smokeping-ms/var
+datadir = @prefix@/data
+piddir = @prefix@/var
cgiurl = http://some.url/smokeping.cgi
-smokemail = /home/oetiker/checkouts/smokeping/trunk/software/etc/smokemail.dist
-tmail = /home/oetiker/checkouts/smokeping/trunk/software/etc/tmail.dist
+smokemail = @prefix@/etc/smokemail.dist
+tmail = @prefix@/etc/tmail.dist
# specify this to get syslog logging
syslogfacility = local0
# each probe is now run in its own process
@@ -47,7 +47,7 @@ AVERAGE 0.5 144 720
*** Presentation ***
-template = /home/oetiker/checkouts/smokeping/trunk/software/etc/basepage.html.dist
+template = @prefix@/etc/basepage.html.dist
+ charts
@@ -108,7 +108,7 @@ unison_tolerance = 2
binary = /usr/sbin/fping
*** Slaves ***
-secrets=/home/oetiker/checkouts/smokeping/trunk/software/etc/smokeping_secrets.dist
+secrets=@prefix@/etc/smokeping_secrets.dist
+boomer
display_name=boomer
color=0000ff