Mastodon needs network
This commit is contained in:
parent
da477c357b
commit
3f4188a7a7
|
@ -254,12 +254,18 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd = {
|
||||||
"d ${cfg.state-directory}/mastodon-opt 0700 mastodon root - -"
|
tmpfiles.rules = [
|
||||||
"d ${cfg.state-directory}/mastodon 0700 mastodon root - -"
|
"d ${cfg.state-directory}/mastodon-opt 0700 mastodon root - -"
|
||||||
"d ${cfg.state-directory}/postgres 0700 mastodon-postgres root - -"
|
"d ${cfg.state-directory}/mastodon 0700 mastodon root - -"
|
||||||
"d ${cfg.state-directory}/redis 0700 mastodon-redis root - -"
|
"d ${cfg.state-directory}/postgres 0700 mastodon-postgres root - -"
|
||||||
];
|
"d ${cfg.state-directory}/redis 0700 mastodon-redis root - -"
|
||||||
|
];
|
||||||
|
services.arion-mastodon = {
|
||||||
|
after = [ "network-online.target" ];
|
||||||
|
requires = [ "network-online.target" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
virtualisation.arion.projects.mastodon.settings = let
|
virtualisation.arion.projects.mastodon.settings = let
|
||||||
mkUserMap = uid: "${toString uid}:${toString uid}";
|
mkUserMap = uid: "${toString uid}:${toString uid}";
|
||||||
|
|
Loading…
Reference in New Issue