#1011013 sphinxsearch: Does not start with standard systemctl calls

Package:
sphinxsearch
Source:
sphinxsearch
Description:
Fast standalone full-text SQL search engine
Submitter:
Jean-Francois Stenuit
Date:
2022-05-15 10:45:04 UTC
Severity:
normal
#1011013#5
Date:
2022-05-15 10:35:52 UTC
From:
To:
Starting searchd from command line works perfectly :
~# /usr/bin/searchd
Sphinx 2.2.11-id64-release (95ae9a6)
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)

using config file '/etc/sphinxsearch/sphinx.conf'...
listening on 127.0.0.1:9312
listening on 127.0.0.1:9306
precaching index 'dev'
precaching index 'prod'
precached 2 indexes in 0.001 sec

But trying to run it from systemd fails :
~# systemctl start sphinxsearch.service
~# systemctl status sphinxsearch.service
● sphinxsearch.service - LSB: Fast standalone full-text SQL search engine
     Loaded: loaded (/etc/init.d/sphinxsearch; generated)
     Active: active (exited) since Sun 2022-05-15 12:01:16 CEST; 5min ago
       Docs: man:systemd-sysv-generator(8)
      Tasks: 0 (limit: 2331)
     Memory: 0B
        CPU: 0
     CGroup: /system.slice/sphinxsearch.service

May 15 12:01:16 newpurcell systemd[1]: Starting LSB: Fast standalone full-text >
May 15 12:01:16 newpurcell sphinxsearch[2671]: To enable sphinxsearch, edit /et>
May 15 12:01:16 newpurcell systemd[1]: Started LSB: Fast standalone full-text S>
~# ps ax|grep searchd
  80997 pts/0    S+     0:00 grep searchd

If someone can confirm this bug, I can work on a patch (most likely a matter of fiddling with systemd service files)

Jean-Francois "Jef" Stenuit