summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authortalyz <kim.lindberger@gmail.com>2021-02-18 17:47:07 +0100
committertalyz <kim.lindberger@gmail.com>2021-02-26 19:54:05 +0100
commit9d4e76dd462972313203b04d1415d5888bf869bf (patch)
tree98df4143dddbb90a447f54277cc03a28d82e222c /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent53d9ec83ff6d9b2cff5d24029449efa8e839ce84 (diff)
nixos/gitlab: Make gitlab.service's PreStart into two new services
Make the config initialization script run in gitlab.service's PreStart section into two new services, `gitlab-config.service` and `gitlab-db-config.service`. Other services can then depend on the config scripts they need instead of unnecessarily depending on `gitlab.service`. This makes the reason for the configured service dependencies much clearer and should also reduce the restart time of the `gitlab` service quite a lot, when triggered manually. Also, set up stricter service dependencies, using `bindsTo`, to ensure that if a service fails or is stopped, its dependants are also stopped. For example, if we're using the `postgresql` service and it's stopped, `gitlab.service` and `gitlab-sidekiq.service`, which depend on it to function, should also be stopped.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions