Fossil SCM

In the "server.wiki" document, use standard HTTP ports for the examples.

drh 2015-03-11 02:06 trunk
Commit e8722b014c13abc4eb5a4a6fead817ffdda093fa
1 file changed +9 -6
+9 -6
--- www/server.wiki
+++ www/server.wiki
@@ -58,24 +58,27 @@
5858
the [/help/http|fossil http] command. To launch Fossil from inetd, modify
5959
your inetd configuration file (typically "/etc/inetd.conf") to contain a
6060
line something like this:
6161
<blockquote>
6262
<pre>
63
-12345 stream tcp nowait.1000 root /usr/bin/fossil /usr/bin/fossil http /home/fossil/repo.fossil
63
+80 stream tcp nowait.1000 root /usr/bin/fossil /usr/bin/fossil http /home/fossil/repo.fossil
6464
</pre>
6565
</blockquote>
6666
In this example, you are telling "inetd" that when an incoming connection
67
-appears on port "12345", that it should launch the binary "/usr/bin/fossil"
67
+appears on TCP port "80", that it should launch the binary "/usr/bin/fossil"
6868
program with the arguments shown.
6969
Obviously you will
7070
need to modify the pathnames for your particular setup.
7171
The final argument is either the name of the fossil repository to be served,
7272
or a directory containing multiple repositories.
7373
</p>
7474
<p>
75
-For systems where the port-specification must be a symbolic name and cannot be
76
-numeric, add the desired name and port to /etc/services, e.g.:
75
+If you use a non-standard TCP port on
76
+systems where the port-specification must be a symbolic name and cannot be
77
+numeric, add the desired name and port to /etc/services. For example, if
78
+you want your Fossil server running on TCP port 12345 instead of 80, you
79
+will need to add:
7780
<blockquote>
7881
<pre>
7982
fossil 12345/tcp #fossil server
8083
</pre>
8184
</blockquote>
@@ -88,13 +91,13 @@
8891
If your system is running xinetd, then the configuration is likely to be
8992
in the file "/etc/xinetd.conf" or in a subfile of "/etc/xinetd.d".
9093
An xinetd configuration file will appear like this:</p>
9194
<blockquote>
9295
<pre>
93
-service http-alt
96
+service http
9497
{
95
- port = 591
98
+ port = 80
9699
socket_type = stream
97100
wait = no
98101
user = root
99102
server = /usr/bin/fossil
100103
server_args = http /home/fossil/repos/
101104
--- www/server.wiki
+++ www/server.wiki
@@ -58,24 +58,27 @@
58 the [/help/http|fossil http] command. To launch Fossil from inetd, modify
59 your inetd configuration file (typically "/etc/inetd.conf") to contain a
60 line something like this:
61 <blockquote>
62 <pre>
63 12345 stream tcp nowait.1000 root /usr/bin/fossil /usr/bin/fossil http /home/fossil/repo.fossil
64 </pre>
65 </blockquote>
66 In this example, you are telling "inetd" that when an incoming connection
67 appears on port "12345", that it should launch the binary "/usr/bin/fossil"
68 program with the arguments shown.
69 Obviously you will
70 need to modify the pathnames for your particular setup.
71 The final argument is either the name of the fossil repository to be served,
72 or a directory containing multiple repositories.
73 </p>
74 <p>
75 For systems where the port-specification must be a symbolic name and cannot be
76 numeric, add the desired name and port to /etc/services, e.g.:
 
 
 
77 <blockquote>
78 <pre>
79 fossil 12345/tcp #fossil server
80 </pre>
81 </blockquote>
@@ -88,13 +91,13 @@
88 If your system is running xinetd, then the configuration is likely to be
89 in the file "/etc/xinetd.conf" or in a subfile of "/etc/xinetd.d".
90 An xinetd configuration file will appear like this:</p>
91 <blockquote>
92 <pre>
93 service http-alt
94 {
95 port = 591
96 socket_type = stream
97 wait = no
98 user = root
99 server = /usr/bin/fossil
100 server_args = http /home/fossil/repos/
101
--- www/server.wiki
+++ www/server.wiki
@@ -58,24 +58,27 @@
58 the [/help/http|fossil http] command. To launch Fossil from inetd, modify
59 your inetd configuration file (typically "/etc/inetd.conf") to contain a
60 line something like this:
61 <blockquote>
62 <pre>
63 80 stream tcp nowait.1000 root /usr/bin/fossil /usr/bin/fossil http /home/fossil/repo.fossil
64 </pre>
65 </blockquote>
66 In this example, you are telling "inetd" that when an incoming connection
67 appears on TCP port "80", that it should launch the binary "/usr/bin/fossil"
68 program with the arguments shown.
69 Obviously you will
70 need to modify the pathnames for your particular setup.
71 The final argument is either the name of the fossil repository to be served,
72 or a directory containing multiple repositories.
73 </p>
74 <p>
75 If you use a non-standard TCP port on
76 systems where the port-specification must be a symbolic name and cannot be
77 numeric, add the desired name and port to /etc/services. For example, if
78 you want your Fossil server running on TCP port 12345 instead of 80, you
79 will need to add:
80 <blockquote>
81 <pre>
82 fossil 12345/tcp #fossil server
83 </pre>
84 </blockquote>
@@ -88,13 +91,13 @@
91 If your system is running xinetd, then the configuration is likely to be
92 in the file "/etc/xinetd.conf" or in a subfile of "/etc/xinetd.d".
93 An xinetd configuration file will appear like this:</p>
94 <blockquote>
95 <pre>
96 service http
97 {
98 port = 80
99 socket_type = stream
100 wait = no
101 user = root
102 server = /usr/bin/fossil
103 server_args = http /home/fossil/repos/
104

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button