From: Andrej Shadura <andrew.shadura@collabora.co.uk>
Date: Fri, 3 Dec 2021 10:11:45 +0100
Subject: Update the sample/minimal conf files to match installation paths

---
 sphinx-min.conf.in | 6 +++---
 sphinx.conf.in     | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sphinx-min.conf.in b/sphinx-min.conf.in
index 34238bd..8c6bf2a 100644
--- a/sphinx-min.conf.in
+++ b/sphinx-min.conf.in
@@ -51,11 +51,11 @@ searchd
 {
 	listen			= 127.0.0.1:9312
 	listen			= 127.0.0.1:9306:mysql41
-	log			= @localstatedir@/log/searchd.log
-	query_log		= @localstatedir@/log/query.log
+	log			= /var/log/sphinxsearch/searchd.log
+	query_log		= /var/log/sphinxsearch/query.log
 	read_timeout		= 5
 	max_children		= 30
-	pid_file		= /var/run/sphinxsearch/searchd.pid
+	pid_file		= /run/sphinxsearch/searchd.pid
 	seamless_rotate		= 1
 	preopen_indexes		= 1
 	unlink_old		= 1
diff --git a/sphinx.conf.in b/sphinx.conf.in
index ed373f1..b115fd3 100644
--- a/sphinx.conf.in
+++ b/sphinx.conf.in
@@ -840,7 +840,7 @@ searchd
 
 	# PID file, searchd process ID file name
 	# mandatory
-	pid_file		= /var/run/sphinxsearch/searchd.pid
+	pid_file		= /run/sphinxsearch/searchd.pid
 
 	# seamless rotate, prevents rotate stalls if precaching huge datasets
 	# optional, default is 1
