--- crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
On Wed, Sep 26, 2018 at 6:03 AM, Dmitry Smirnov <only...@debian.org> wrote: > On Wednesday, 26 September 2018 2:10:09 PM AEST Luke Kenneth Casson Leighton > wrote: >> https://gitlab.com/gitlab-org/gitlab-ce/raw/master/lib/support/init.d/gitlab > > Thanks, Luke. It could be a good starting point but IMHO this script can not > be used as-is and it needs a lot of work... yeah i agree: it does however get things up and running (where there was no service *at all* for about half an hour). it definitely needs splitting down into separate services: i'll take a look over the next few days. > Instead of using sloppy init script you might find it useful to try > > https://github.com/gdraheim/docker-systemctl-replacement the majority of services that i've deployed over the past 20+ years typically have always had an initscript: it's quite rare not to find any (at all). i know you didn't suggest it, i wouldn't recommend including (or depending on) that package for this task: it may however prove useful to submit as a WNPP/ITP. for solving the issue here of gitlab needing to start when systemd isn't around (and sysvinit is), i'll help sort that by creating 4 initscripts, i think that's the best solution for gitlab. l.