Auto start and respawn

Asked by Miloud B.

Hello dear developers,

I'm deploying Bazaar on my own dedicated Ubuntu server, and I'd like to know what do I have to do in all to:
- Start bazaar up after the system starts up
- Restart bazaar in case it crashes for whatever reason

Thank you

M. B

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
John A Meinel (jameinel) said :
#1

It depends what you mean by "Start bazaar up". Most users interact with bzr via "bzr+ssh" which doesn't require setting up a service at all (it finds the 'bzr' client on the system path when it connects via ssh.)

Other sites I've seen use xinetd style connections for either http or bzr:// style connections.

What process are you considering "Bazaar" that you have running over a period of time?

Revision history for this message
Martin Pool (mbp) said :
#2

Hi Miloud,

Probably the easiest way if you just want bzr hosting is to run it
under ssh; if you install and enable the openssh-server package it
will start on every reboot and that should be enough. bzr does not
need a long-running daemon of its own.

If you also want a web view of bzr branches I don't think there's a
default startup script but you should be able to easily create an
upstart startup script that runs 'serve-branches' from the loggerhead
package.

If you need more information please just ask.

Martin

On 27 April 2011 23:06, Miloud B. <email address hidden> wrote:
> New question #154439 on Bazaar:
> https://answers.launchpad.net/bzr/+question/154439
>
> Hello dear developers,
>
> I'm deploying Bazaar on my own dedicated Ubuntu server, and I'd like to know what do I have to do in all to:
> - Start bazaar up after the system starts up
> - Restart bazaar in case it crashes for whatever reason
>
> Thank you
>
> M. B
>
> --
> You received this question notification because you are an answer
> contact for Bazaar.
>

Can you help with this problem?

Provide an answer of your own, or ask Miloud B. for more information if necessary.

To post a message you must log in.