Last modified: 2013-07-24 07:55:47 UTC
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: - wrapping lucene-search https://gerrit.wikimedia.org/r/#/c/55406/ - wmf beta autoupdater https://gerrit.wikimedia.org/r/#/c/22116/ and https://gerrit.wikimedia.org/r/#/c/28377/ There are other examples under operations/puppet.git ./files/upstart/ . That needs a .default file as well.
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.
And doc is updated with https://wikitech.wikimedia.org/w/index.php?title=Gitblit&diff=78444&oldid=78223 :) Thank you!