- correct instructions on how to create the svn account (bnc#655094)
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm:svn/subversion?expand=0&rev=30
This commit is contained in:
@@ -96,8 +96,16 @@ case "$1" in
|
||||
echo -n "Starting svnserve "
|
||||
## Start daemon with startproc(8). If this fails
|
||||
## the return value is set appropriately by startproc.
|
||||
startproc -u "$SVNSERVE_USERID" -g "$SVNSERVE_GROUPID" -e $SVNSERVE_BIN $SVNSERVE_OPTIONS
|
||||
if test -z "$SVNSERVE_USERID" || ! (/usr/bin/id $SVNSERVE_USERID &>/dev/null) \
|
||||
|
||||
test -z "$SVNSERVE_GROUPID" || ! (/usr/bin/id $SVNSERVE_GROUPID;
|
||||
then
|
||||
echo "User $SVNSERVE_USERID does not exist."
|
||||
echo "Please check $SVNSERVE_CONFIG before starting this service."
|
||||
rc_failed
|
||||
else
|
||||
startproc -u "$SVNSERVE_USERID" -g "$SVNSERVE_GROUPID" -e $SVNSERVE_BIN $SVNSERVE_OPTIONS
|
||||
fi
|
||||
# Remember status and be verbose
|
||||
rc_status -v
|
||||
;;
|
||||
|
Reference in New Issue
Block a user