$OpenBSD: patch-installer_linux_monitor_cfg,v 1.3 2010/04/22 10:06:18 ajacoutot Exp $
--- installer/linux/monitor.cfg.orig	Wed Apr 14 09:14:51 2010
+++ installer/linux/monitor.cfg	Thu Apr 22 10:28:51 2010
@@ -5,16 +5,16 @@
 server_socket	=	file:///var/run/zarafa
 
 # drop privileges and run the process as this user
-run_as_user = 
+run_as_user = _zarafa
 
 # drop privileges and run the process as this group
-run_as_group = 
+run_as_group = _zarafa
 
-# create a pid file for stopping the service via the init.d scripts
+# write the process ID number to this file
 pid_file = /var/run/zarafa-monitor.pid
 
 # run server in this path (when not using the -F switch)
-running_path = /
+running_path = /var/empty
 
 ##############################################################
 # ZARAFA MONITOR LOG SETTINGS
@@ -38,7 +38,7 @@ log_timestamp	=	1
 #       to use this type of login method
 
 # Login to the Zarafa server using this SSL Key
-sslkey_file = /etc/zarafa/ssl/monitor.pem
+sslkey_file = ${SYSCONFDIR}/zarafa/ssl/monitor.pem
 
 # The password of the SSL Key
 sslkey_pass = replace-with-monitor-cert-password
@@ -57,12 +57,12 @@ mailquota_resend_interval = 1
 
 # Templates to be used for quota emails which are send to the user
 # when the various user quota levels have been exceeded.
-userquota_warning_template  =   /etc/zarafa/quotamail/userwarning.mail
-userquota_soft_template     =   /etc/zarafa/quotamail/usersoft.mail
-userquota_hard_template     =   /etc/zarafa/quotamail/userhard.mail
+userquota_warning_template  =   ${SYSCONFDIR}/zarafa/quotamail/userwarning.mail
+userquota_soft_template     =   ${SYSCONFDIR}/zarafa/quotamail/usersoft.mail
+userquota_hard_template     =   ${SYSCONFDIR}/zarafa/quotamail/userhard.mail
 
 # Templates to be used for quota emails which are send to the company administrators
 # when the various company quota levels have been exceeded.
-companyquota_warning_template   =   /etc/zarafa/quotamail/companywarning.mail
-companyquota_soft_template      =   /etc/zarafa/quotamail/companysoft.mail
-companyquota_hard_template      =   /etc/zarafa/quotamail/companyhard.mail
+companyquota_warning_template   =   ${SYSCONFDIR}/zarafa/quotamail/companywarning.mail
+companyquota_soft_template      =   ${SYSCONFDIR}/zarafa/quotamail/companysoft.mail
+companyquota_hard_template      =   ${SYSCONFDIR}/zarafa/quotamail/companyhard.mail
