nixpkgs/nixos/modules
Oliver Schmidt ff9296f93e
nixos/gitlab: ensure service started again after dependency restarts (#245240)
When a dependency, like postgresql.service or redis-gitlab.service, had
been stopped and started at switch-to-configuration time, gitlab.service
and its helper units had been stopped but not started again.
`multi-user.target` only has a `Wants` relation to gitlab.target, but
once gitlab.target has been successfully started once and is not stopped/
restarted again, it does not cause all its dependencies to stay activated
the whole time.

This commit fixes this by upgrading the dependy relationship of
gitlab.service towards gitlab.target from a "Wants" to a "Requires". It
should be enough to do this for this single unit part of gitlab.target
only, as all other units wantedBy gitlab.target are pulled in by
gitlab.service as well or have bindsTo relations.
2023-07-30 18:49:54 +02:00
..
config nixos/qt: install qt6gtk2 when using gtk2 2023-07-27 15:39:30 -03:00
hardware Merge pull request #244572 from MinerSebas/usb-modeswitch-module-rename 2023-07-25 19:24:14 -06:00
i18n/input-method nixos/fcitx5: add quickPhrase 2023-07-29 00:54:25 +08:00
image nixos/image: add repart builder docs 2023-07-26 23:36:18 +02:00
installer nixos-generate-config: add 'lib' arg to configuration.nix 2023-07-21 13:53:33 +02:00
misc Merge pull request #241462 from SuperSandro2000/remove-ddclient 2023-07-08 14:33:00 +02:00
profiles linux-builder: fix eval failure 2023-07-23 18:07:48 +10:00
programs nixos/wayfire: init 2023-07-27 00:04:03 -03:00
security pam_dp9ik: init at 1.5 2023-07-09 14:12:21 -05:00
services nixos/gitlab: ensure service started again after dependency restarts (#245240) 2023-07-30 18:49:54 +02:00
system Merge pull request #246082 from ElvishJerricco/exitrd-fix-shutdown-loop 2023-07-30 00:11:55 +02:00
tasks zfs: 'want', don't 'require', systemd-udev-settle 2023-07-28 16:57:12 +10:00
testing Merge pull request #219106 from m-bdf/nixos-testing-increase-device-timeout 2023-06-20 11:48:45 +02:00
virtualisation Merge pull request #238735 from MayNiklas/proxmox-image-settings 2023-07-27 22:17:42 +02:00
module-list.nix nixos/wayfire: init 2023-07-27 00:04:03 -03:00
rename.nix nixos/osquery: init 2023-07-19 16:55:29 +02:00