From 2fb6429d094ba8f2dcddc1965b62a21b37a4854d Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 26 Jan 2021 14:36:47 +0100 Subject: [PATCH] Fix --- README.md | 2 +- scripts/install | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2c460a0..92065ab 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* ## Overview -Quick description of this app. +Matterbridge is a bridge between a series of chat protocols and offers a REST-API. Supported protocols are among others IRC, XMPP, Gitter, Mattermost, Slack, Discord, Telegram, Rocket.Chat, Hipchat(via xmpp), Matrix, Steam, ssh-chat and Zulip. Minecraft servers are supported with the third party solution MatterLink. **Shipped version:** 1.21.0 diff --git a/scripts/install b/scripts/install index 2a97ecd..2a90e2a 100644 --- a/scripts/install +++ b/scripts/install @@ -94,6 +94,13 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1 # Reload services ynh_systemd_action --service_name=$app --action=start --log_path="/var/log/$app/$app.log" +#================================================= +# SETUP SSOWAT +#================================================= +ynh_script_progression --message="Configuring permissions..." --weight=1 + +ynh_permission_create --permission="api" --url "/api" --allowed="visitors" --show_tile="false" --protected="true" + #================================================= # END OF SCRIPT #=================================================