Updated documentation.

This commit is contained in:
default 2023-06-26 09:55:45 +02:00
parent e8be616793
commit 7a8cc806a0
3 changed files with 5 additions and 13 deletions

View file

@ -186,12 +186,7 @@ Starts the daemon.
Purges old data from the timeline of all users. Purges old data from the timeline of all users.
.It Cm adduser Ar basedir Op uid .It Cm adduser Ar basedir Op uid
Adds a new user to the server. This is an interactive command; Adds a new user to the server. This is an interactive command;
necessary information will be prompted for. Also, a copy of necessary information will be prompted for.
the server
.Pa style.css
is installed in the user's
.Pa static/
directory.
.It Cm resetpwd Ar basedir Ar uid .It Cm resetpwd Ar basedir Ar uid
Resets a user's password to a new, random one. Resets a user's password to a new, random one.
.It Cm queue Ar basedir Ar uid .It Cm queue Ar basedir Ar uid

View file

@ -96,8 +96,8 @@ This directory stores Mastodon API apps.
.It Pa token/ .It Pa token/
This directory stores Mastodon API tokens. This directory stores Mastodon API tokens.
.It Pa style.css .It Pa style.css
The server-wide CSS. Not used directly; everytime a new user is created, this The server-wide CSS. The content of this file is inserted into the HTML output
file is copied to the user unless a user-specific one exist in the user's
.Pa static/ .Pa static/
folder. folder.
.It Pa greeting.html .It Pa greeting.html

View file

@ -200,12 +200,9 @@ the list of users in this instance to be inserted.
Users can change a bit of information about themselves from the Users can change a bit of information about themselves from the
web interface. See web interface. See
.Xr snac 1 .Xr snac 1
for details. Further, every user has a private CSS file in their for details. Further, every user can have a private CSS file in their
.Pa static/style.css .Pa static/style.css
that can be modified to suit their needs. This file contains that will be served instead of the server-wide one.
a copy of the
.Pa style.css
file in the server root and it's inserted into the HTML output.
It's not modifiable from the web interface to avoid users It's not modifiable from the web interface to avoid users
shooting themselves in the foot by destroying everything. shooting themselves in the foot by destroying everything.
.Ss Old Data Purging .Ss Old Data Purging