Mastodon: Difference between revisions

Onny (talk | contribs)
Usage: Add more usage examples
Onny (talk | contribs)
Usage: Add approve user command
 
(One intermediate revision by one other user not shown)
Line 47: Line 47:
<syntaxhighlight lang="console">
<syntaxhighlight lang="console">
# sudo -u mastodon mastodon-tootctl accounts modify my_user --email myuser@example.org --confirm
# sudo -u mastodon mastodon-tootctl accounts modify my_user --email myuser@example.org --confirm
</syntaxhighlight>
Approve user manually
<syntaxhighlight lang="console">
# sudo -u mastodon mastodon-tootctl accounts modify my_user --email myuser@example.org --approve
</syntaxhighlight>
</syntaxhighlight>


Line 118: Line 124:
# 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>