summaryrefslogtreecommitdiff
path: root/pcr/sphinx/sphinx.service
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-05-22 05:54:33 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-05-22 05:54:33 -0300
commit4774a572775b8c44d86bd8696d17d2205a473ac5 (patch)
tree4b17743b5e17e171eda55359ed5737da589b6ed9 /pcr/sphinx/sphinx.service
parent3cc4685abd608cb86ac3beca4501a77e00c6d5be (diff)
parent1a4554480341083f8a1240431c12ebe267843ecd (diff)
Merge branch 'master' of ssh://projects.parabola.nu/~git/abslibre
Diffstat (limited to 'pcr/sphinx/sphinx.service')
-rw-r--r--pcr/sphinx/sphinx.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/pcr/sphinx/sphinx.service b/pcr/sphinx/sphinx.service
new file mode 100644
index 000000000..cb22f01ce
--- /dev/null
+++ b/pcr/sphinx/sphinx.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Sphinx - SQL Full Text Search Engine
+After=local-fs.target network.target mysqld.service
+
+[Service]
+Type=forking
+Restart=always
+PIDFile=/var/lib/sphinx/log/searchd.pid
+ExecStart=/usr/bin/searchd --config /etc/sphinx/sphinx.conf
+ExecStop=/usr/bin/searchd --config /etc/sphinx/sphinx.conf --stopwait
+#User=sphinx
+#Group=sphinx
+
+[Install]
+WantedBy=multi-user.target