Ticket UUID: | 3bdcdb910fc6b07b4357b510d3f0631582b8297c | ||
Title: | Suggested inetd configuration for fossil not working. | ||
Status: | Closed | Type: | Incident |
Severity: | Important | Priority: | |
Subsystem: | Resolution: | Not_A_Bug | |
Last Modified: | 2011-07-22 10:04:43 | ||
Version Found In: | 1.18 [a8f271e81e] 2011-06-18 19:29:17 UTC | ||
Description & Comments: | |||
I have tried to configure inetd to respond to http requests on port 8080 using the following configuration.
8080 stream tcp nowait.1000 root /home/alex/fossil/fossil/fossil http /home/fossil/fossil/lfossil.fossil However, it does not work. Using netcat, I find that instead of responding with http messages, it simply replies http: http: unknown command: /home/fossil/fossil/lfossil.fossil http: use "help" for more information Fossil clearly does not understand the parameters passed to it. Would someone that has experience respond to this problem, and update the Quick Start guide? Thanks. steveb added on 2011-07-22 07:22:33 UTC: 80 stream tcp nowait.1000 root /usr/bin/fossil /usr/bin/fossil http /home/proj1/repos1.fossil Note that /usr/bin/fossil is listed twice. The first time is the command to execute and the second is argv[0] passed to the program. They will often be the same, as in this example. |