Skip to content

Instantly share code, notes, and snippets.

@jaywilliams jaywilliams/searchd
Last active Jan 9, 2019

Embed
What would you like to do?
A working OpenBSD Sphinx Search rc.d init script
#!/bin/ksh
#
# searchd - Sphinxsearch network daemon
#
# Use --nodetach flag in combination with rc_bg to workaround searchd not
# listening on specified network ports
daemon="/usr/local/bin/searchd"
daemon_flags="--nodetach"
# daemon_user="www"
# force start the daemon in background
rc_bg=YES
. /etc/rc.d/rc.subr
rc_cmd $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.