fix(dendrite): start after postgres

This commit is contained in:
uku 2024-04-29 16:29:31 +02:00
parent 12d71b2e6f
commit 763ff566b7
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o
2 changed files with 6 additions and 1 deletions

View file

@ -6,6 +6,11 @@
age.secrets = mkSecret "dendriteKey" {mode = "444";}; age.secrets = mkSecret "dendriteKey" {mode = "444";};
cfTunnels."m.uku.moe" = "http://localhost:80"; cfTunnels."m.uku.moe" = "http://localhost:80";
systemd.services.dendrite = {
after = ["postgresql.service"];
serviceConfig.RestartSec = 10;
};
services = { services = {
dendrite = let dendrite = let
database = { database = {

View file

@ -96,7 +96,7 @@ in
ragnamod7 = { ragnamod7 = {
port = 25566; port = 25566;
frpPort = 6001; frpPort = 6001;
memory = "10G"; memory = "8G";
env = { env = {
USE_AIKAR_FLAGS = "true"; USE_AIKAR_FLAGS = "true";
TYPE = "AUTO_CURSEFORGE"; TYPE = "AUTO_CURSEFORGE";