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:
parent
de2da39121
commit
d204e911f2
1 changed files with 4 additions and 4 deletions
|
@ -10,19 +10,19 @@ See [#4](https://github.com/YunoHost-Apps/akkoma_ynh/issues/4) for more explaina
|
||||||
- LDAP supported but HTTP auth not.
|
- LDAP supported but HTTP auth not.
|
||||||
|
|
||||||
## Admin Tasks
|
## Admin Tasks
|
||||||
Go to **cd /var/www/pleroma/live**.
|
Go to **cd /var/www/akkoma/live**.
|
||||||
|
|
||||||
### Adding users
|
### Adding users
|
||||||
|
|
||||||
**Run:**
|
**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
|
### Password reset
|
||||||
|
|
||||||
**Run:**
|
**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.
|
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:**
|
**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.
|
**--admin** option will **make the user moderator** and **--no-admin** will **take away the moderator privileges** from the user.
|
||||||
|
|
Loading…
Reference in a new issue