diff options
Diffstat (limited to 'pcr/sphinx/sphinx.service')
-rw-r--r-- | pcr/sphinx/sphinx.service | 15 |
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 |