diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-03-26 21:10:40 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-03-26 21:10:40 (GMT) |
commit | 334602d665b11ab882de2086d610b37295b318f6 (patch) | |
tree | cc8762e9f44922a991a2d4cf1f3f6bd0aad81cf6 /abs/extra/subversion/svnserve | |
parent | 5a67c49f7409a511075622da8bc6cc058185f841 (diff) | |
download | linhes_pkgbuild-334602d665b11ab882de2086d610b37295b318f6.zip linhes_pkgbuild-334602d665b11ab882de2086d610b37295b318f6.tar.gz linhes_pkgbuild-334602d665b11ab882de2086d610b37295b318f6.tar.bz2 |
subversion: update to 1.9.7
Diffstat (limited to 'abs/extra/subversion/svnserve')
-rwxr-xr-x | abs/extra/subversion/svnserve | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/abs/extra/subversion/svnserve b/abs/extra/subversion/svnserve deleted file mode 100755 index 670fee7..0000000 --- a/abs/extra/subversion/svnserve +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions -. /etc/conf.d/svnserve - -PID=`pidof -o %PPID /usr/bin/svnserve` -case "$1" in - start) - stat_busy "Starting svnserve" - if [ -z "$PID" ]; then - if [ -n "$SVNSERVE_USER" ]; then - su -s '/bin/sh' $SVNSERVE_USER -c "/usr/bin/svnserve -d $SVNSERVE_ARGS" & - else - /usr/bin/svnserve -d $SVNSERVE_ARGS & - fi - fi - if [ ! -z "$PID" -o $? -gt 0 ]; then - stat_fail - else - add_daemon svnserve - stat_done - fi - ;; - stop) - stat_busy "Stopping svnserve" - [ ! -z "$PID" ] && kill $PID &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon svnserve - stat_done - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac |