summaryrefslogtreecommitdiff
path: root/pcr/sphinx/sphinx.service
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-21 19:26:27 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-21 19:26:27 -0500
commitb9424df3adea55192b1ed3c8647f8b9d7dea1fee (patch)
treefbd91f178c744dcfd1e026c728a93befb24d8627 /pcr/sphinx/sphinx.service
parent01dc5112e9e2acb6881d291af4420c0bcfd4689f (diff)
sphinx: add new package to [pcr]
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