Skip to content

Commit

Permalink
Update actions.toml
Browse files Browse the repository at this point in the history
Co-authored-by: Josue-T <josue@tille.ch>
  • Loading branch information
Gredin67 and Josue-T committed Sep 18, 2020
1 parent 51e4a27 commit 49c4308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions.toml
Expand Up @@ -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]
Expand Down

0 comments on commit 49c4308

Please sign in to comment.