Date: Tue, 17 Feb 2004 22:52:53 +0100 From: Mark Santcroos <marks@ripe.net> To: marshall@chezmarshall.com Cc: ports@freebsd.org Subject: perforce startup script change Message-ID: <20040217215253.GA7083@laptop.6bone.nl>
next in thread | raw e-mail | index | archive | help
--tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline What do you think about the attached patch? It configures the startup (default=disabled) of the perforce webserver. Mark --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="perf.diff" diff -ur old/perforce.conf.in new/perforce.conf.in --- old/perforce.conf.in Tue Feb 17 22:40:53 2004 +++ new/perforce.conf.in Tue Feb 17 22:50:08 2004 @@ -58,3 +58,10 @@ # Uncomment this line to have the proxy server started automatically # #PERFORCE_PROXY_START=yes + +# +# Perforce web server +# +PERFORCE_WEB_PORT="6060" +PERFORCE_WEB_OPTIONS="-b -l -w $PERFORCE_WEB_PORT -p $PERFORCE_PORT" +#PERFORCE_WEB_START=yes diff -ur old/perforce.sh.in new/perforce.sh.in --- old/perforce.sh.in Tue Feb 17 22:40:53 2004 +++ new/perforce.sh.in Tue Feb 17 22:47:56 2004 @@ -5,6 +5,7 @@ p4d=@PREFIX@/sbin/p4d p4ftpd=@PREFIX@/sbin/p4ftpd p4p=@PREFIX@/sbin/p4p +p4web=@PREFIX@/bin/p4web case $1 in start) @@ -20,6 +21,10 @@ if [ -x $p4p -a x$PERFORCE_PROXY_START = xyes ]; then echo -n ' p4p' $p4p $PERFORCE_PROXY_OPTIONS + fi + if [ -x $p4web -a x$PERFORCE_WEB_START = xyes ]; then + echo -n ' p4web' + $p4web $PERFORCE_WEB_OPTIONS & fi ;; --tThc/1wpZn/ma/RB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040217215253.GA7083>