summarylogtreecommitdiffstats
path: root/sphinx.service
diff options
context:
space:
mode:
authorFlorijan Hamzic2018-05-18 12:43:50 +0200
committerFlorijan Hamzic2018-05-18 12:43:50 +0200
commit24a176389a51ec685a0e607f1c910266968f03ab (patch)
treea4dff529a2ebc8f6bab35bc1ac8a108c1d72dabb /sphinx.service
downloadaur-24a176389a51ec685a0e607f1c910266968f03ab.tar.gz
initial commit
Diffstat (limited to 'sphinx.service')
-rw-r--r--sphinx.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/sphinx.service b/sphinx.service
new file mode 100644
index 000000000000..cb22f01ceba0
--- /dev/null
+++ b/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