Permalink
Browse files

added kpoll as default

git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@1370 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
  • Loading branch information...
1 parent 2e3798c commit a90bd689e2c525a64871d87cfac4b6c9b40be656 @klacke committed Jan 27, 2009
Showing with 10 additions and 2 deletions.
  1. +5 −0 man/yaws.1
  2. +5 −2 scripts/yaws.template
View
@@ -79,6 +79,11 @@ Start yaws as a distributed erlang node with name <xxx>
using the unqualified hostname as nodename postfix
.TP
+\fB\--disable-kpoll\fR
+By default, yaws starts erlang with \fI+K true\fR. This flag
+reverses that.
+
+.TP
\fB\--name xxx\fR
Start yaws as a distributed erlang node with name <xxx> using the
fully qualified hostname as nodename postfix
View
@@ -51,7 +51,7 @@ help()
echo " --setcookie X -- set an erlang cookie"
echo " --run_erl X -- use run_erl with pipe-id X"
echo " --to_erl X -- connect to pipe-id X"
-
+ echo " --disable-kpoll -- Pass +K false to erlang"
echo ""
echo "ctl functions ... "
@@ -81,6 +81,7 @@ mnesia="";
id="default";
pdist=""
erlarg=""
+kpoll=true
program=$0
wait_started() {
@@ -168,6 +169,8 @@ while [ $# -gt 0 ]
-name|--name)
sname=" -name $1 "
shift;;
+ --disable-kpoll)
+ kpoll=false;;
-heart|--heart)
heart=" -heart ";;
-proto_dist|--proto_dist)
@@ -236,7 +239,7 @@ trace="${trace} ${traceoutput}"
[ "$run_erl" = "eval" ] && [ -z "$daemon" ] && [ -z "$interactive" ] && help
-XEC="${daemon} ${heart} -pa ${yawsdir}${delim}ebin ${xpath} ${sname} ${pdist} ${erlarg} ${debug} -run yaws ${trace} ${conf} ${runmod} ${mnesia} ${id}"
+XEC="${daemon} ${heart} +K ${kpoll} -pa ${yawsdir}${delim}ebin ${xpath} ${sname} ${pdist} ${erlarg} ${debug} -run yaws ${trace} ${conf} ${runmod} ${mnesia} ${id}"
if [ -z "$heart" ] || [ -z "$daemon" ]; then
HEART_COMMAND="";

0 comments on commit a90bd68

Please sign in to comment.