Wait for the network before starting lemmy.

This commit is contained in:
niten 2023-07-30 10:10:57 -07:00
parent 1ed0377294
commit b939506879
1 changed files with 10 additions and 4 deletions

View File

@ -350,10 +350,16 @@ in {
}; };
}; };
systemd.tmpfiles.rules = [ systemd = {
"d ${cfg.state-directory}/pictrs 0700 lemmy-pictrs root - -" services.arion-lemmy = {
"d ${cfg.state-directory}/postgres 0700 lemmy-postgres root - -" after = [ "network-online.target" ];
]; requires = [ "network-online.target" ];
};
tmpfiles.rules = [
"d ${cfg.state-directory}/pictrs 0700 lemmy-pictrs root - -"
"d ${cfg.state-directory}/postgres 0700 lemmy-postgres root - -"
];
};
virtualisation = { virtualisation = {
arion.projects.lemmy.settings = let arion.projects.lemmy.settings = let