--- tools/stunnel.conf-sample.in.orig	Sat Jan  7 14:58:50 2006
+++ tools/stunnel.conf-sample.in	Thu Mar 23 16:43:58 2006
@@ -3,15 +3,15 @@
 ; Please make sure you understand them (especially the effect of chroot jail)
 
 ; Certificate/key is needed in server mode and optional in client mode
-cert = @prefix@/etc/stunnel/mail.pem
-;key = @prefix@/etc/stunnel/mail.pem
+cert = @sysconfdir@/ssl/private/stunnel.pem
+;key = @sysconfdir@/ssl/private/stunnel.key
 
 ; Some security enhancements for UNIX systems - comment them out on Win32
-chroot = @prefix@/var/lib/stunnel/
-setuid = nobody
-setgid = nogroup
+chroot = /var/stunnel/
+setuid = _stunnel
+setgid = _stunnel
 ; PID is created inside chroot jail
-pid = /stunnel.pid
+pid = /var/run/stunnel.pid
 
 ; Some performance tunings
 socket = l:TCP_NODELAY=1
@@ -27,12 +27,12 @@ socket = r:TCP_NODELAY=1
 ; CApath is located inside chroot jail
 ;CApath = /certs
 ; It's often easier to use CAfile
-;CAfile = @prefix@/etc/stunnel/certs.pem
+;CAfile = @sysconfdir@/ssl/certs.pem
 ; Don't forget to c_rehash CRLpath
 ; CRLpath is located inside chroot jail
 ;CRLpath = /crls
 ; Alternatively you can use CRLfile
-;CRLfile = @prefix@/etc/stunnel/crls.pem
+;CRLfile = @sysconfdir@/ssl/crls.pem
 
 ; Some debugging stuff useful for troubleshooting
 ;debug = 7
