1svnserve(8) System Manager's Manual svnserve(8)
2
3
4
6 svnserve - Server for the 'svn' repository access method
7
9 svnserve [options]
10
12 svnserve allows access to Subversion repositories using the svn network
13 protocol. It can both run as a standalone server process, or it can
14 run out of inetd. You must choose a mode of operation when you start
15 svnserve. The following options are recognized:
16
17 -d, --daemon
18 Causes svnserve to run in daemon mode. svnserve backgrounds
19 itself and accepts and serves TCP/IP connections on the svn port
20 (3690, by default).
21
22 --listen-port=port
23 Causes svnserve to listen on port when run in daemon mode.
24
25 --listen-host=host
26 Causes svnserve to listen on the interface specified by host,
27 which may be either a hostname or an IP address.
28
29 --foreground
30 When used together with -d, this option causes svnserve to stay in
31 the foreground. This option is mainly useful for debugging.
32
33 -i, --inetd
34 Causes svnserve to use the stdin/stdout file descriptors, as is
35 appropriate for a daemon running out of inetd.
36
37 -h, --help
38 Displays a usage summary and exits.
39
40 -r root, --root=root
41 Sets the virtual root for repositories served by svnserve. The
42 pathname in URLs provided by the client will be interpreted rela‐
43 tive to this root, and will not be allowed to escape this root.
44
45 -R --read-only
46 Force all write operations through this svnserve instance to be
47 forbidden, overriding all other access policy configuration. Do
48 not use this option to set general repository access policy - that
49 is what the conf/svnserve.conf repository configuration file is
50 for. This option should be used only to restrict access via a
51 certain method of invoking svnserve - for example, to allow write
52 access via SSH, but not via a svnserve daemon, or to create a
53 restricted SSH key which is only capable of read access.
54
55 -t, --tunnel
56 Causes svnserve to run in tunnel mode, which is just like the
57 inetd mode of operation (serve one connection over stdin/stdout)
58 except that the connection is considered to be pre-authenticated
59 with the username of the current uid. This flag is selected by
60 the client when running over a tunnel agent.
61
62 --tunnel-user=username
63 When combined with --tunnel, overrides the pre-authenticated user‐
64 name with the supplied username. This is useful in combination
65 with the ssh authorized_key file's "command" directive to allow a
66 single system account to be used by multiple committers, each hav‐
67 ing a distinct ssh identity.
68
69 -T, --threads
70 When running in daemon mode, causes svnserve to spawn a thread
71 instead of a process for each connection. The svnserve process
72 still backgrounds itself at startup time.
73
74 -X, --listen-once
75 Causes svnserve to accept one connection on the svn port, serve
76 it, and exit. This option is mainly useful for debugging.
77
78 Once the client has selected a repository by transmitting its URL,
79 svnserve reads a file named conf/svnserve.conf in the repository direc‐
80 tory to determine repository-specific settings such as what authentica‐
81 tion database to use and what authorization policies to apply. See the
82 svnserve.conf(5) man page for details of that file format.
83
84
85
86
87 svnserve(8)