Wait for the network before starting lemmy.
This commit is contained in:
parent
1ed0377294
commit
b939506879
|
@ -350,10 +350,16 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d ${cfg.state-directory}/pictrs 0700 lemmy-pictrs root - -"
|
||||
"d ${cfg.state-directory}/postgres 0700 lemmy-postgres root - -"
|
||||
];
|
||||
systemd = {
|
||||
services.arion-lemmy = {
|
||||
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 = {
|
||||
arion.projects.lemmy.settings = let
|
||||
|
|
Loading…
Reference in New Issue