# Bazaar

## Setting up bzr server with xinetd

- Install bzr package

     pacman -S bzr

- Add <bzr-user> if needed
- Create repo:

     bzr init /home/bzr/repo.bzr
     chown -R <bzr-user> /home/bzr/repo.bzr

- Add config for xinetd:

    service bzr
    {
    	flags			= REUSE
    	socket_type		= stream
    	wait			= no
    	user			= <bzr-user>
    	server			= /usr/bin/bzr
    	server_args		= serve --inet --directory=/home/bzr/repo.bzr
    	env			= HOME=/home/bzr
    	log_on_failure		+= USERID
    	disable			= no
    	cps			= 50 10
    	instances		= 60
    }

Category:

- Version Control System