Fossil SCM
In the "server.wiki" document, use standard HTTP ports for the examples.
Commit
e8722b014c13abc4eb5a4a6fead817ffdda093fa
Parent
573bbd3eb94b7d3…
1 file changed
+9
-6
+9
-6
| --- www/server.wiki | ||
| +++ www/server.wiki | ||
| @@ -58,24 +58,27 @@ | ||
| 58 | 58 | the [/help/http|fossil http] command. To launch Fossil from inetd, modify |
| 59 | 59 | your inetd configuration file (typically "/etc/inetd.conf") to contain a |
| 60 | 60 | line something like this: |
| 61 | 61 | <blockquote> |
| 62 | 62 | <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 | |
| 64 | 64 | </pre> |
| 65 | 65 | </blockquote> |
| 66 | 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" | |
| 67 | +appears on TCP port "80", that it should launch the binary "/usr/bin/fossil" | |
| 68 | 68 | program with the arguments shown. |
| 69 | 69 | Obviously you will |
| 70 | 70 | need to modify the pathnames for your particular setup. |
| 71 | 71 | The final argument is either the name of the fossil repository to be served, |
| 72 | 72 | or a directory containing multiple repositories. |
| 73 | 73 | </p> |
| 74 | 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.: | |
| 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: | |
| 77 | 80 | <blockquote> |
| 78 | 81 | <pre> |
| 79 | 82 | fossil 12345/tcp #fossil server |
| 80 | 83 | </pre> |
| 81 | 84 | </blockquote> |
| @@ -88,13 +91,13 @@ | ||
| 88 | 91 | If your system is running xinetd, then the configuration is likely to be |
| 89 | 92 | in the file "/etc/xinetd.conf" or in a subfile of "/etc/xinetd.d". |
| 90 | 93 | An xinetd configuration file will appear like this:</p> |
| 91 | 94 | <blockquote> |
| 92 | 95 | <pre> |
| 93 | -service http-alt | |
| 96 | +service http | |
| 94 | 97 | { |
| 95 | - port = 591 | |
| 98 | + port = 80 | |
| 96 | 99 | socket_type = stream |
| 97 | 100 | wait = no |
| 98 | 101 | user = root |
| 99 | 102 | server = /usr/bin/fossil |
| 100 | 103 | server_args = http /home/fossil/repos/ |
| 101 | 104 |
| --- 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 |