mirror of
https://github.com/YunoHost-Apps/mautrix_signal_ynh.git
synced 2024-09-03 19:46:07 +02:00
Fix psql call
This commit is contained in:
parent
2a1af6ac0a
commit
9a424d7ecc
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ sleep 30
|
||||||
# (Note that, by default, non-admins might not have your homeserver's permission to create communities.)
|
# (Note that, by default, non-admins might not have your homeserver's permission to create communities.)
|
||||||
if [ "$bot_synapse_adm" = true ]
|
if [ "$bot_synapse_adm" = true ]
|
||||||
then
|
then
|
||||||
ynh_psql_execute_as_root --database=$synapse_db_name --sql="UPDATE users SET admin = 1 WHERE name = ""$botname"";"
|
ynh_psql_execute_as_root --database=$synapse_db_name --sql="UPDATE users SET admin = 1 WHERE name = \"$botname\";"
|
||||||
# #yunohost app action run $synapse_instance set_admin_user -a username=$botname
|
# #yunohost app action run $synapse_instance set_admin_user -a username=$botname
|
||||||
fi
|
fi
|
||||||
ynh_systemd_action --service_name=$app --action="restart"
|
ynh_systemd_action --service_name=$app --action="restart"
|
||||||
|
|
Loading…
Add table
Reference in a new issue