openbsd-ports/net/smokeping/patches/patch-etc_config_dist

51 lines
1.6 KiB
Plaintext

$OpenBSD: patch-etc_config_dist,v 1.5 2008/01/29 19:58:39 sthen Exp $
--- etc/config.dist.orig Mon Jan 21 14:02:04 2008
+++ etc/config.dist Thu Jan 24 19:57:42 2008
@@ -3,17 +3,17 @@
owner = Peter Random
contact = some@address.nowhere
mailhost = my.mail.host
-sendmail = /usr/lib/sendmail
+sendmail = /usr/sbin/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
-imgurl = cache
-datadir = /tmp/smokeping-ms/data
-piddir = /tmp/smokeping-ms/var
+imgcache = /var/www/htdocs/smokeping/img
+imgurl = /smokeping/img
+datadir = /var/db/smokeping
+piddir = /var/run/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 = %%SYSCONFDIR%%/smokeping/smokemail
+tmail = %%SYSCONFDIR%%/smokeping/tmail
# 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 = %%SYSCONFDIR%%/smokeping/basepage.html
+ charts
@@ -105,10 +105,10 @@ unison_tolerance = 2
+ FPing
-binary = /usr/sbin/fping
+binary = %%LOCALBASE%%/sbin/fping
*** Slaves ***
-secrets=/home/oetiker/checkouts/smokeping/trunk/software/etc/smokeping_secrets.dist
+secrets=%%SYSCONFDIR%%/smokeping/smokeping_secrets
+boomer
display_name=boomer
color=0000ff