mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Update actions.toml
Co-authored-by: Josue-T <josue@tille.ch>
This commit is contained in:
parent
51e4a27875
commit
49c430850e
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ name = "Set a user as admin"
|
|||
command = "[[ \"$(su --command=\"psql matrix_synapse\" postgres <<< \"UPDATE users SET admin = 1 WHERE name = '@$YNH_ACTION_USERNAME:$(yunohost app setting $YNH_APP_INSTANCE_NAME server_name)'\")\" == 'UPDATE 1' ]]"
|
||||
user = "root"
|
||||
accepted_return_codes = [0]
|
||||
description = "Set a synapse user as admin in the synapse postgreSQL database. It is mainly required to manage the community function."
|
||||
description = "Set a synapse user as admin in the synapse server. It is mainly required to manage the community function."
|
||||
|
||||
[set_admin_user.arguments]
|
||||
[set_admin_user.arguments.username]
|
||||
|
|
Loading…
Reference in a new issue