|
1
|
# Serving via xinetd |
|
2
|
|
|
3
|
Some operating systems have replaced the old Unix `inetd` daemon with |
|
4
|
`xinetd`, which has a similar mission but with a very different |
|
5
|
configuration file format. |
|
6
|
|
|
7
|
The typical configuration file is either `/etc/xinetd.conf` or a subfile |
|
8
|
in the `/etc/xinetd.d` directory. You need a configuration something |
|
9
|
like this for Fossil: |
|
10
|
|
|
11
|
service http |
|
12
|
{ |
|
13
|
port = 80 |
|
14
|
socket_type = stream |
|
15
|
wait = no |
|
16
|
user = root |
|
17
|
server = /usr/bin/fossil |
|
18
|
server_args = http /home/fossil/repos/ |
|
19
|
} |
|
20
|
|
|
21
|
This example configures Fossil to serve multiple repositories under the |
|
22
|
`/home/fossil/repos/` directory. |
|
23
|
|
|
24
|
Beyond this, see the general commentary in our article on [the `inetd` |
|
25
|
method](./inetd.md) as they also apply to service via `xinetd`. |
|
26
|
|
|
27
|
*[Return to the top-level Fossil server article.](../)* |
|
28
|
|