~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/en/user-guide/server.txt

  • Committer: Patch Queue Manager
  • Date: 2014-05-08 02:56:29 UTC
  • mfrom: (6596.1.1 bzr)
  • Revision ID: pqm@pqm.ubuntu.com-20140508025629-de62pqrditrp349y
(richard-wilbur) Jelmer: Don't pass blob to file.writelines(),
 but rather to file.write(). (Dimitri John Ledkov)

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
 
65
65
Running a Bazaar server from inetd requires an inetd.conf entry::
66
66
 
67
 
    4155  stream  tcp  nowait  bzruser  /usr/bin/bzr /usr/bin/bzr serve --inet --directory=/srv/bzr/repo
 
67
    4155  stream  TCP  nowait  bzruser  /usr/bin/bzr /usr/bin/bzr serve --inet --directory=/srv/bzr/repo
68
68
 
69
69
When running client commands, the URL you supply is a `bzr://` URL relative to
70
70
the ``--directory`` option given in inetd.conf::
97
97
 
98
98
server::
99
99
 
100
 
    bzr serve --port=localhost:1234 --directory=/srv/bzr/repo
 
100
    bzr serve --listen=localhost --port=1234 --directory=/srv/bzr/repo
101
101
 
102
102
client::
103
103