summaryrefslogtreecommitdiff
path: root/net-mgmt/smokeping/files/patch-etc-config.dist
blob: 927d126e09ba6f06e03e2af0aeebd40c4c8bcb47 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
--- etc/config.dist.orig	2008-02-04 18:00:46.000000000 +0100
+++ etc/config.dist	2008-05-01 15:26:00.000000000 +0200
@@ -7,13 +7,13 @@
 # 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
-imgurl   = cache
-datadir  = /tmp/smokeping-ms/data
-piddir  = /tmp/smokeping-ms/var
+imgcache = %%PREFIX%%/smokeping/htdocs/img
+imgurl   = /smokeimg
+datadir  = %%PREFIX%%/var/smokeping
+piddir  = %%PREFIX%%/var/smokeping
 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/smokeping/smokemail
+tmail = %%PREFIX%%/etc/smokeping/tmail
 # specify this to get syslog logging
 syslogfacility = local0
 # each probe is now run in its own process
@@ -47,7 +47,7 @@
 
 *** Presentation ***
 
-template = /home/oetiker/checkouts/smokeping/trunk/software/etc/basepage.html.dist
+template = %%PREFIX%%/etc/smokeping/basepage.html
 
 + charts
 
@@ -105,7 +105,7 @@
 
 + FPing
 
-binary = /usr/sbin/fping
+binary = %%PREFIX%%/sbin/fping
 
 *** Slaves ***
 secrets=/home/oetiker/checkouts/smokeping/trunk/software/etc/smokeping_secrets.dist