Page MenuHomePhabricator

gitblit is missing an init/upstart job
Closed, ResolvedPublic

Description

gitblit is lacking an upstart/init script. That makes it hard to figure out what needs to be done to restart it.

An upstart job is not that hard to write and will make maintaining the soft easier. Some examples:

There are other examples under operations/puppet.git ./files/upstart/ . That needs a .default file as well.


Version: wmf-deployment
Severity: normal

Details

Reference
bz51861

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:02 AM
bzimport added a project: Gerrit.
bzimport set Reference to bz51861.
bzimport added a subscriber: Unknown Object (MLST).

Another reasonable (and Java-specific) example: http://askubuntu.com/a/194808

Change 75350 had a related patch set uploaded by Demon:
Adding init script for gitblit

https://gerrit.wikimedia.org/r/75350

Change 75350 merged by Ryan Lane:
Adding init script for gitblit

https://gerrit.wikimedia.org/r/75350

This now has an init script living in /etc/init.d/ like it should. Puppet now also has a service definition to make sure it restarts if it falls over.