This commit is contained in:
Sakooooo 2025-01-03 22:18:51 +04:00
parent fd726750a1
commit 2fbce23c97
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -75,16 +75,17 @@ in {
sslCertificateKey = "/srv/secrets/certs/sako.box-key.pem"; sslCertificateKey = "/srv/secrets/certs/sako.box-key.pem";
}; };
}; };
}; systemd.services = {
systemd.services = { phpfpm-nextcloud.aliases = [ "nextcloud.service" ];
phpfpm-nextcloud.aliases = [ "nextcloud.service" ]; "nextcloud-setup" = {
"nextcloud-setup" = { requires = [ "postgresql.service" "redis-nextcloud.service" ];
requires = [ "postgresql.service" "redis-nextcloud.service" ]; after = [ "postgresql.service" "redis-nextcloud.service" ];
after = [ "postgresql.service" "redis-nextcloud.service" ]; serviceConfig = {
serviceConfig = { Restart = "on-failure";
Restart = "on-failure"; RestartSec = "10s";
RestartSec = "10s"; };
}; };
}; };
}; };
} }