diff options
| author | 2023-06-26 09:55:45 +0200 | |
|---|---|---|
| committer | 2023-06-26 09:55:45 +0200 | |
| commit | 7a8cc806a06826243aff775414018231837bda35 (patch) | |
| tree | d9ad14d25b990dd30bf75b968e8b49378eb4da3d | |
| parent | Minor logging tweak. (diff) | |
| download | snac2-7a8cc806a06826243aff775414018231837bda35.tar.gz snac2-7a8cc806a06826243aff775414018231837bda35.tar.xz snac2-7a8cc806a06826243aff775414018231837bda35.zip | |
Updated documentation.
| -rw-r--r-- | doc/snac.1 | 7 | ||||
| -rw-r--r-- | doc/snac.5 | 4 | ||||
| -rw-r--r-- | doc/snac.8 | 7 |
3 files changed, 5 insertions, 13 deletions
| @@ -186,12 +186,7 @@ Starts the daemon. | |||
| 186 | Purges old data from the timeline of all users. | 186 | Purges old data from the timeline of all users. |
| 187 | .It Cm adduser Ar basedir Op uid | 187 | .It Cm adduser Ar basedir Op uid |
| 188 | Adds a new user to the server. This is an interactive command; | 188 | Adds a new user to the server. This is an interactive command; |
| 189 | necessary information will be prompted for. Also, a copy of | 189 | necessary information will be prompted for. |
| 190 | the server | ||
| 191 | .Pa style.css | ||
| 192 | is installed in the user's | ||
| 193 | .Pa static/ | ||
| 194 | directory. | ||
| 195 | .It Cm resetpwd Ar basedir Ar uid | 190 | .It Cm resetpwd Ar basedir Ar uid |
| 196 | Resets a user's password to a new, random one. | 191 | Resets a user's password to a new, random one. |
| 197 | .It Cm queue Ar basedir Ar uid | 192 | .It Cm queue Ar basedir Ar uid |
| @@ -96,8 +96,8 @@ This directory stores Mastodon API apps. | |||
| 96 | .It Pa token/ | 96 | .It Pa token/ |
| 97 | This directory stores Mastodon API tokens. | 97 | This directory stores Mastodon API tokens. |
| 98 | .It Pa style.css | 98 | .It Pa style.css |
| 99 | The server-wide CSS. Not used directly; everytime a new user is created, this | 99 | The server-wide CSS. The content of this file is inserted into the HTML output |
| 100 | file is copied to the user | 100 | unless a user-specific one exist in the user's |
| 101 | .Pa static/ | 101 | .Pa static/ |
| 102 | folder. | 102 | folder. |
| 103 | .It Pa greeting.html | 103 | .It Pa greeting.html |
| @@ -200,12 +200,9 @@ the list of users in this instance to be inserted. | |||
| 200 | Users can change a bit of information about themselves from the | 200 | Users can change a bit of information about themselves from the |
| 201 | web interface. See | 201 | web interface. See |
| 202 | .Xr snac 1 | 202 | .Xr snac 1 |
| 203 | for details. Further, every user has a private CSS file in their | 203 | for details. Further, every user can have a private CSS file in their |
| 204 | .Pa static/style.css | 204 | .Pa static/style.css |
| 205 | that can be modified to suit their needs. This file contains | 205 | that will be served instead of the server-wide one. |
| 206 | a copy of the | ||
| 207 | .Pa style.css | ||
| 208 | file in the server root and it's inserted into the HTML output. | ||
| 209 | It's not modifiable from the web interface to avoid users | 206 | It's not modifiable from the web interface to avoid users |
| 210 | shooting themselves in the foot by destroying everything. | 207 | shooting themselves in the foot by destroying everything. |
| 211 | .Ss Old Data Purging | 208 | .Ss Old Data Purging |