Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 599510 - app-misc/sphinx-2.2.11 - missing systemd unit file
Summary: app-misc/sphinx-2.2.11 - missing systemd unit file
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: install-systemd-unit
  Show dependency tree
 
Reported: 2016-11-11 18:18 UTC by Darko Luketic
Modified: 2017-12-10 15:00 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
searchd.service (searchd.service,275 bytes, text/plain)
2016-11-11 18:18 UTC, Darko Luketic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Darko Luketic 2016-11-11 18:18:49 UTC
Created attachment 453042 [details]
searchd.service

app-misc/sphinx-2.2.11 has no searchd.service
and also doesn't create a sphinx user

Using this service requires the following:
- creating a 'sphinx' system user
- creating /run/sphinx and chown sphinx /run/sphinx
This serivce file assumes /etc/sphinx/sphinx.conf being the default config file location and that the pid file is placed in /run/sphinx/searchd.pid

Suggestions for improvment:
add a searchd-indexer.service or .timer
Comment 1 Darko Luketic 2016-11-11 18:21:33 UTC
There's an open bug https://bugs.gentoo.org/show_bug.cgi?id=514852
from 2014 for a user to be added instead of running sphinx as root