blob: a0997ccb26725a3d7a976701426bef40cff12ebe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
[Unit]
Description=Sphinx - SQL Full Text Search Engine
After=local-fs.target network.target mysqld.service
[Service]
Type=forking
Restart=always
PIDFile=/var/run/sphinx/searchd.pid
ExecStart=/bin/sh -c '/usr/bin/mkdir -p /var/run/sphinx && /usr/bin/sphinx-searchd --config /etc/sphinx/sphinx.conf'
ExecStop=/usr/bin/sphinx-searchd --config /etc/sphinx/sphinx.conf --stopwait
[Install]
WantedBy=multi-user.target
|