Re: [fossil-users] server.wiki patch

2015-03-02 Thread Michai Ramakers
On 1 March 2015 at 20:52, jungle Boogie jungleboog...@gmail.com wrote:

 Minor patch to add information about inetd on FreeBSD to the server.wiki 
 page.

 ...

Please see whether [fbbf640b] is ok for you.

Michai
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] server.wiki patch

2015-03-02 Thread jungle Boogie
Hi Michai,
On 2 March 2015 at 13:20, Michai Ramakers m.ramak...@gmail.com wrote:
 On 1 March 2015 at 20:52, jungle Boogie jungleboog...@gmail.com wrote:

 Minor patch to add information about inetd on FreeBSD to the server.wiki 
 page.

 ...

 Please see whether [fbbf640b] is ok for you.


Yes, this is great for me and more straight forward.

I did amend the title slightly, too, but I'm not very particular if
you update that.

 Michai



-- 
---
inum: 883510009027723
sip: jungleboo...@sip2sip.info
xmpp: jungle-boo...@jit.si
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] server.wiki patch

2015-03-01 Thread Michai Ramakers
On 1 March 2015 at 06:48, jungle Boogie jungleboog...@gmail.com wrote:

 Minor patch to add information about inetd on FreeBSD to the server.wiki page.

 I haven't tested fossil on openBSD but if its the same as freebsd,
 feel free to modify the patch to include that information, too.

just for verification: '12345' as service-name doesn't work, and
adding a symbolic name for that port in /etc/services does work?

Michai
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] server.wiki patch

2015-03-01 Thread jungle Boogie
Hi Michai,
On 1 March 2015 at 00:39, Michai Ramakers m.ramak...@gmail.com wrote:
 On 1 March 2015 at 06:48, jungle Boogie jungleboog...@gmail.com wrote:

 Minor patch to add information about inetd on FreeBSD to the server.wiki 
 page.

 I haven't tested fossil on openBSD but if its the same as freebsd,
 feel free to modify the patch to include that information, too.

 just for verification: '12345' as service-name doesn't work, and
 adding a symbolic name for that port in /etc/services does work?


I didn't test that as the freeBSD handbook reports:
service-name
The service name of the daemon to start. It must correspond to a
service listed in /etc/services. This determines which port inetd
listens on for incoming connections to that service. When using a
custom service, it must first be added to /etc/services.
https://www.freebsd.org/doc/en/books/handbook/network-inetd.html

I didn't mention adding inetd_enable=YES to /etc/rc.conf

Do think think:
a) it should be mentioned
b) its assumed as all auto running services need to be added to
/etc/rc.conf or like files
c) link to freeBSD handbook for more explanation
d) keep as is and when system operator attempts to start inetd the OS
will report it need to be added into /etc/rc.conf

I have no problem with complete documentation as it would help fossil
users but the inetd section right now is only a few sentences.

 Michai

Best,
sean


-- 
---
inum: 883510009027723
sip: jungleboo...@sip2sip.info
xmpp: jungle-boo...@jit.si
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] server.wiki patch

2015-02-28 Thread jungle Boogie
Hello All,

Minor patch to add information about inetd on FreeBSD to the server.wiki page.

I haven't tested fossil on openBSD but if its the same as freebsd,
feel free to modify the patch to include that information, too.

Best!

-- 
---
inum: 883510009027723
sip: jungleboo...@sip2sip.info
xmpp: jungle-boo...@jit.si
--- www/server.wiki
+++ www/server.wiki
@@ -1,6 +1,6 @@
-titleHow To Configure A Fossil Server/title
+titleConfiguring a Fossil Server/title
 h2Introduction/h2blockquote
 pA server is not necessary to use Fossil, but a server does help in collaborating with
 peers.  A Fossil server also works well as a complete website for a project.
 For example, the complete bhttp://www.fossil-scm.org//b website, including the
 page you are now reading (but excepting the download page),
@@ -69,10 +69,30 @@
 Obviously you will
 need to modify the pathnames for your particular setup.
 The final argument is either the name of the fossil repository to be served,
 or a directory containing multiple repositories.
 /p
+p
+If you are operating fossil on FreeBSD, you will need to modify your
+/etc/services file with something like the following:
+blockquote
+pre
+fossil  8080/tcp  #fossil server
+/pre
+/blockquote
+
+Then you can add something like this to your /etc/inetd:
+blockquote
+pre
+fossil stream tcp nowait.1000 user /usr/local/bin/fossil /usr/local/bin/fossil http /home/user/fossil-repos
+/pre
+/blockquote
+p
+In this example, inetd will run as user and connect over port 8080. If you
+want to change the port, edit you /etc/services file and restart inetd.
+/p
+p
 p
 If your system is running xinetd, then the configuration is likely to be
 in the file /etc/xinetd.conf or in a subfile of /etc/xinetd.d.
 An xinetd configuration file will appear like this:/p
 blockquote

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users