summarylogtreecommitdiffstats
path: root/sphinx.service
blob: cb22f01ceba030d80323dc49b9bc38137ab8d304 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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