Mastodon: Difference between revisions

Onny (talk | contribs)
Usage: Add more usage examples
m (Breaking caddy out of the sandbox does not appear to be necessary) - copied from old wiki
Line 118: Line 118:
# Caddy requires file and socket access
# Caddy requires file and socket access
users.users.caddy.extraGroups = [ "mastodon" ];
users.users.caddy.extraGroups = [ "mastodon" ];
# Caddy systemd unit needs readwrite permissions to /run/mastodon-web
systemd.services.caddy.serviceConfig.ReadWriteDirectories = lib.mkForce [ "/var/lib/caddy" "/run/mastodon-web" ];


</syntaxHighlight>
</syntaxHighlight>