1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/akkoma_ynh.git synced 2024-09-03 20:36:17 +02:00

Fix pleroma/akkoma

Yes, the binary pleroma_ctl is supposed to be pleroma, not akkoma. At least for now.
This commit is contained in:
lapineige 2023-01-12 01:24:02 +01:00 committed by GitHub
parent de2da39121
commit d204e911f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,19 +10,19 @@ See [#4](https://github.com/YunoHost-Apps/akkoma_ynh/issues/4) for more explaina
- LDAP supported but HTTP auth not.
## Admin Tasks
Go to **cd /var/www/pleroma/live**.
Go to **cd /var/www/akkoma/live**.
### Adding users
**Run:**
$ ( cd /var/www/pleroma/live && sudo -u pleroma MIX_ENV=prod ./bin/pleroma_ctl user new <NICKNAME> <EMAIL> )
$ ( cd /var/www/akkoma/live && sudo -u akkoma MIX_ENV=prod ./bin/pleroma_ctl user new <NICKNAME> <EMAIL> )
### Password reset
**Run:**
$ ( cd /var/www/pleroma/live && sudo -u pleroma MIX_ENV=prod ./bin/pleroma_ctl user reset_password <NICKNAME> )
$ ( cd /var/www/akkoma/live && sudo -u akkoma MIX_ENV=prod ./bin/pleroma_ctl user reset_password <NICKNAME> )
This will generate a **password reset link** that you can then send to the user.
@ -32,6 +32,6 @@ You can make users **moderators**. They will then be able to **delete any post**
**Run:**
$ ( cd /var/www/pleroma/live && sudo -u pleroma MIX_ENV=prod ./bin/pleroma_ctl user set <NICKNAME> --[no-]admin )
$ ( cd /var/www/akkoma/live && sudo -u akkoma MIX_ENV=prod ./bin/pleroma_ctl user set <NICKNAME> --[no-]admin )
**--admin** option will **make the user moderator** and **--no-admin** will **take away the moderator privileges** from the user.