subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r1298021 - in /subversion/trunk/tools/server-side/svnpubsub/rc.d: svnwcsub svnwcsub.debian svnwcsub.solaris
Date Wed, 07 Mar 2012 17:02:09 GMT
Author: joes
Date: Wed Mar  7 17:02:09 2012
New Revision: 1298021

URL: http://svn.apache.org/viewvc?rev=1298021&view=rev
Log:
* trunk/tools/server-side/svnpubsub/rc.d/svnwcsub* - make logfile and config file options
configurable

Modified:
    subversion/trunk/tools/server-side/svnpubsub/rc.d/svnwcsub
    subversion/trunk/tools/server-side/svnpubsub/rc.d/svnwcsub.debian
    subversion/trunk/tools/server-side/svnpubsub/rc.d/svnwcsub.solaris

Modified: subversion/trunk/tools/server-side/svnpubsub/rc.d/svnwcsub
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/server-side/svnpubsub/rc.d/svnwcsub?rev=1298021&r1=1298020&r2=1298021&view=diff
==============================================================================
--- subversion/trunk/tools/server-side/svnpubsub/rc.d/svnwcsub (original)
+++ subversion/trunk/tools/server-side/svnpubsub/rc.d/svnwcsub Wed Mar  7 17:02:09 2012
@@ -21,6 +21,8 @@ svnwcsub_group=${svnwcsub_group-"svnwc"}
 svnwcsub_pidfile=${svnwcsub_pidfile-"/var/run/svnwcsub/svnwcsub.pub"}
 svnwcsub_env="PYTHON_EGG_CACHE"
 svnwcsub_cmd_int=${svnwcsub_cmd_int-"python"}
+svnwcsub_config=${svnwcsub_config-"/etc/svnwcsub.conf"}
+svnwcsub_logfile=${svnwcsub_logfile-"/var/log/svnwcsub.log"}
 pidfile="${svnwcsub_pidfile}"
 
 export PYTHON_EGG_CACHE="/var/run/svnwcsub"
@@ -28,9 +30,9 @@ export PYTHON_EGG_CACHE="/var/run/svnwcs
 command="/usr/local/svnpubsub/svnwcsub.py"
 command_interpreter="/usr/local/bin/${svnwcsub_cmd_int}"
 command_args="--daemon \
-              --logfile=/var/log/svnwcsub.log \
+              --logfile=${svnwcsub_logfile} \
               --pidfile=${pidfile} \
               --uid=${svnwcsub_user} --gid=${svnwcsub_group} \
-              --umask=002 /etc/svnwcsub.conf"
+              --umask=002 ${svnwcsub_config}"
 
 run_rc_command "$1"

Modified: subversion/trunk/tools/server-side/svnpubsub/rc.d/svnwcsub.debian
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/server-side/svnpubsub/rc.d/svnwcsub.debian?rev=1298021&r1=1298020&r2=1298021&view=diff
==============================================================================
--- subversion/trunk/tools/server-side/svnpubsub/rc.d/svnwcsub.debian (original)
+++ subversion/trunk/tools/server-side/svnpubsub/rc.d/svnwcsub.debian Wed Mar  7 17:02:09
2012
@@ -15,13 +15,16 @@
 svnwcsub_user=${svnwcsub_user-"svnwc"}
 svnwcsub_group=${svnwcsub_group-"svnwc"}
 svnwcsub_pidfile=${svnwcsub_pidfile-"/var/run/svnwcsub.pid"}
+svnwcsub_config=${svnwcsub_config-"/etc/svnwcsub.conf"}
+svnwcsub_logfile=${svnwcsub_logfile-"/var/bwlog/svnpubsub/svnwcsub.log"}
 pidfile="${svnwcsub_pidfile}"
 
 SVNWCSUB_CMD="/opt/svnpubsub/svnwcsub.py \
               --daemon \
-              --logfile=/var/bwlog/svnpubsub/svnwcsub.log \
+              --logfile=${svnwcsub_logfile} \
               --pidfile=${pidfile} \
-              --uid=${svnwcsub_user} --gid=${svnwcsub_group} /etc/svnwcsub.conf"
+              --uid=${svnwcsub_user} --gid=${svnwcsub_group} \
+              ${svnwcsub_config} "
 
 RETVAL=0
  

Modified: subversion/trunk/tools/server-side/svnpubsub/rc.d/svnwcsub.solaris
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/server-side/svnpubsub/rc.d/svnwcsub.solaris?rev=1298021&r1=1298020&r2=1298021&view=diff
==============================================================================
--- subversion/trunk/tools/server-side/svnpubsub/rc.d/svnwcsub.solaris (original)
+++ subversion/trunk/tools/server-side/svnpubsub/rc.d/svnwcsub.solaris Wed Mar  7 17:02:09
2012
@@ -6,14 +6,17 @@
 svnwcsub_user=${svnwcsub_user-"svnwc"}
 svnwcsub_group=${svnwcsub_group-"other"}
 svnwcsub_pidfile=${svnwcsub_pidfile-"/var/run/svnwcsub/svnwcsub.pid"}
+svnwcsub_config=${svnwcsub_config-"/etc/svnwcsub.conf"}
+svnwcsub_logfile=${svnwcsub_logfile-"/x1/log/svnwcsub.log"}
 pidfile="${svnwcsub_pidfile}"
 
 SVNWCSUB_CMD="/usr/local/svnpubsub/svnwcsub.py \
               --daemon \
-              --logfile=/x1/log/svnwcsub.log \
+              --logfile=${svnwcsub_logfile} \
               --pidfile=${pidfile} \
               --umask=002 \
-              --uid=${svnwcsub_user} --gid=${svnwcsub_group} /etc/svnwcsub.conf"
+              --uid=${svnwcsub_user} --gid=${svnwcsub_group} \
+              ${svnwcsub_config}"
 
 RETVAL=0
  



Mime
View raw message