1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 19:17:45 +00:00

Add requires to systemd services

This commit is contained in:
RGBCube 2024-01-15 13:23:43 +03:00
parent 9c91731341
commit 77b4a81e2c
No known key found for this signature in database
2 changed files with 4 additions and 0 deletions

View file

@ -15,6 +15,8 @@ in serverSystemConfiguration {
group = "grafana";
};
systemd.services.grafana.requires = [ "postgresql.service" ];
services.grafana = enabled {
domain = fqdn;
port = 8999;

View file

@ -15,6 +15,8 @@ in serverSystemConfiguration {
group = "nextcloud";
};
systemd.services.nextcloud-setup.requires = [ "postgresql.service" ];
services.nextcloud = enabled {
package = pkgs.nextcloud28;