cld: flip the default build to dynamic ports
PATCH 2/2 cld: flip the default build to dynamic ports
Let's switch the deafault way to build to use dynamic port, this should not hurt anything and lets Fedora to run without this (small) patch.
Signed-off-by Pete Zaitcev <[email protected]>
test/start-daemon +4 -4
@@ -7,11 +7,11 @@ then fi ## Static port -cldport=18181 -echo $cldport > cld.port -../server/cld -P cld.pid -d "$PWD/data" -p $cldport -E +# cldport=18181 +# echo $cldport > cld.port +# ../server/cld -P cld.pid -d "$PWD/data" -p $cldport -E ## Dynamic port -# ../server/cld -P cld.pid -d "$PWD/data" --port-file=cld.port -E +../server/cld -P cld.pid -d "$PWD/data" --port-file=cld.port -E sleep 3