View | Details | Raw Unified | Return to bug 33551
Collapse All | Expand All

(-)file_not_specified_in_diff (-3 / +3 lines)
Line  Link Here
0
-- ./sphinx.init
0
++ ./sphinx.init
Lines 15-27 WITHOUT_RC_COMPAT=1 Link Here
15
# Source function library.
15
# Source function library.
16
. /etc/init.d/functions
16
. /etc/init.d/functions
17
PIDFILE=/var/run/searchd.pid
17
PIDFILE=/var/run/sphinx/searchd.pid
18
LOCKFILE=/var/lock/subsys/searchd
18
LOCKFILE=/var/lock/subsys/searchd
19
RETVAL=0
19
RETVAL=0
20
start()
20
start()
21
{
21
{
22
       start_daemon --pidfile "$PIDFILE" --lockfile "$LOCKFILE" --expect-user _sphinx -- /usr/bin/searchd
22
       start_daemon --pidfile "$PIDFILE" --lockfile "$LOCKFILE" --expect-user _sphinx --set-user _sphinx -- /usr/bin/searchd
23
       RETVAL=$?
23
       RETVAL=$?
24
       return $RETVAL
24
       return $RETVAL
25
}
25
}

Return to bug 33551