On Wed, 10 Jun 2015 00:07:50 +0200 Josef Kufner <j...@frozen-doe.net> wrote:
> Package: sphinxsearch
> Version: 2.2.9-1
> Severity: normal
>
> Dear Maintainer,
> please add sytemd service file for sphinx search. This one looks working just
> fine:
>

Since sphinxsearch is not a so complex service, and with init script +
systemd installed,
We can get benefits of systemd,
I'd prefer not adding systemd unit.

>
> --cut--
>
> [Unit]
> Description=Sphinx Search - Fast standalone full-text SQL search engine
> After=network.target
>
> [Service]
> ExecStart=/usr/bin/searchd --config /etc/sphinxsearch/sphinx.conf --nodetach
> KillMode=process
> Restart=on-failure
>
> [Install]
> WantedBy=multi-user.target
> Alias=sphinxsearch.service
>
> --cut--
>
> I'm not sure about socket activation and similar stuff, I guess it is not
> supported by Sphinx, so this simple service file should be just fine for now.
>
> Have a nice day.
>
>
>
> -- System Information:
> Debian Release: stretch/sid
>   APT prefers unstable
>   APT policy: (700, 'unstable'), (600, 'testing'), (500, 'stable'), (1, 
> 'experimental')
> Architecture: i386 (i686)
>
> Kernel: Linux 4.0.0-2-686-pae (SMP w/4 CPU cores)
> Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages sphinxsearch depends on:
> ii  adduser           3.113+nmu3
> ii  libc6             2.19-18
> ii  libexpat1         2.1.0-6+b3
> ii  libgcc1           1:5.1.1-9
> ii  libmysqlclient18  5.5.43-0+deb8u1
> ii  libpq5            9.4.3-1
> ii  libstdc++6        5.1.1-9
> ii  libstemmer0d      0+svn585-1
> ii  zlib1g            1:1.2.8.dfsg-2+b1
>
> sphinxsearch recommends no packages.
>
> sphinxsearch suggests no packages.
>
> -- Configuration Files:

Reply via email to