$OpenBSD: patch-installer_linux_search_cfg,v 1.4 2015/04/05 22:25:08 robert Exp $
--- installer/linux/search.cfg.orig	Thu Mar  5 16:52:42 2015
+++ installer/linux/search.cfg	Mon Apr  6 00:19:28 2015
@@ -2,19 +2,19 @@
 # INDEXED SEARCH SERVICE SETTINGS
 
 # Location of the index files
-index_path          =   /var/lib/zarafa/search/
+index_path          =   /var/db/zarafa/search/
 
 # run as specific user
-run_as_user         =
+run_as_user         = _zarafa
 
 # run as specific group
-run_as_group        =
+run_as_group        = _zarafa
 
 # control pid file
-pid_file            =   /var/run/zarafa-search.pid
+pid_file            =   /var/run/zarafa-search/zarafa-search.pid
 
 # run server in this path (when not using the -F switch)
-running_path        =   /
+running_path        =   /var/empty
 
 # create memory coredumps upon crash in the running_path directory
 coredump_enabled = no
@@ -31,7 +31,7 @@ limit_results		=	0
 server_socket   =   file:///var/run/zarafa
 
 # Login to the Zarafa server using this SSL Key
-#sslkey_file         = /etc/zarafa/ssl/search.pem
+#sslkey_file         = ${SYSCONFDIR}/zarafa/ssl/search.pem
 
 # The password of the SSL Key
 #sslkey_pass         = replace-with-server-cert-password
@@ -45,10 +45,10 @@ server_socket   =   file:///var/run/zarafa
 server_bind_name   =   file:///var/run/zarafa-search
 
 # File with RSA key for SSL, used then server_bind_name uses https
-ssl_private_key_file= /etc/zarafa/search/privkey.pem
+ssl_private_key_file= ${SYSCONFDIR}/zarafa/search/privkey.pem
 
 # File with certificate for SSL, used then server_bind_name uses https
-ssl_certificate_file= /etc/zarafa/search/cert.pem
+ssl_certificate_file= ${SYSCONFDIR}/zarafa/search/cert.pem
 
 ##############################################################
 # LOG SETTINGS
@@ -94,7 +94,7 @@ index_attachments	= no
 index_attachment_max_size = 5M
 
 # Scripts to attachment to text parser
-index_attachment_parser = /etc/zarafa/searchscripts/attachments_parser
+index_attachment_parser = ${SYSCONFDIR}/zarafa/searchscripts/attachments_parser
 
 # Maximum amount of memory which a parser may use in bytes (set to 0 for unlimited)
 # If this maximum is exceeded the parser will be killed
