mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/matrix/*: change dependencies on matrix-synapse.service to serviceUnit
This commit is contained in:
parent
70dc536ae0
commit
8627e0ef58
6 changed files with 10 additions and 10 deletions
|
@ -83,7 +83,7 @@ in
|
|||
systemd.services.matrix-sliding-sync = rec {
|
||||
after =
|
||||
lib.optional cfg.createDatabase "postgresql.service"
|
||||
++ lib.optional config.services.matrix-synapse.enable "matrix-synapse.service";
|
||||
++ lib.optional config.services.matrix-synapse.enable config.services.matrix-synapse.serviceUnit;
|
||||
wants = after;
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
environment = cfg.settings;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue