Lines 22-27
Link Here
|
22 |
SVN_USER=${SVN_USER-subversion} |
22 |
SVN_USER=${SVN_USER-subversion} |
23 |
|
23 |
|
24 |
SVNSERVE=/usr/bin/svnserve |
24 |
SVNSERVE=/usr/bin/svnserve |
|
|
25 |
SVNSERVE_BIN=/usr/bin/svnserve.bin |
25 |
SVN_OPTS="-d" |
26 |
SVN_OPTS="-d" |
26 |
|
27 |
|
27 |
[ -z "$SVN_ROOT" ] || SVN_OPTS="$SVN_OPTS -r \"$SVN_ROOT\"" |
28 |
[ -z "$SVN_ROOT" ] || SVN_OPTS="$SVN_OPTS -r \"$SVN_ROOT\"" |
Lines 41-47
Link Here
|
41 |
|
42 |
|
42 |
stop() |
43 |
stop() |
43 |
{ |
44 |
{ |
44 |
stop_daemon --pidfile "$PIDFILE" --lockfile "$LOCKFILE" --expect-user "$SVN_USER" -- $SVNSERVE |
45 |
stop_daemon --pidfile "$PIDFILE" --lockfile "$LOCKFILE" --expect-user "$SVN_USER" -- $SVNSERVE_BIN |
45 |
RETVAL=$? |
46 |
RETVAL=$? |
46 |
return $RETVAL |
47 |
return $RETVAL |
47 |
} |
48 |
} |
Lines 55-61
Link Here
|
55 |
reload() |
56 |
reload() |
56 |
{ |
57 |
{ |
57 |
msg_reloading subversion |
58 |
msg_reloading subversion |
58 |
stop_daemon --pidfile "$PIDFILE" --expect-user "$SVN_USER" -HUP -- $SVNSERVE |
59 |
stop_daemon --pidfile "$PIDFILE" --expect-user "$SVN_USER" -HUP -- $SVNSERVE_BIN |
59 |
RETVAL=$? |
60 |
RETVAL=$? |
60 |
return $RETVAL |
61 |
return $RETVAL |
61 |
} |
62 |
} |