File: install-paths.patch

package info (click to toggle)
sphinxsearch 2.2.11-11
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 25,724 kB
  • sloc: cpp: 102,259; xml: 85,608; sh: 9,259; php: 3,790; ansic: 3,158; yacc: 1,969; java: 1,336; ruby: 1,289; python: 1,062; pascal: 912; perl: 381; lex: 275; makefile: 150; sql: 77; cs: 35
file content (41 lines) | stat: -rw-r--r-- 1,279 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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