1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/thelounge_ynh.git synced 2024-09-03 20:35:54 +02:00

Revert "Fix"

This reverts commit e5392a5e56.
This commit is contained in:
ericgaspar 2021-05-10 11:48:57 +02:00
parent e5392a5e56
commit 1ebdb733b7
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 13 additions and 6 deletions

View file

@ -6,7 +6,7 @@
*[Lire ce readme en français.](./README_fr.md)*
> *This package allow you to install The Lounge quickly and simply on a YunoHost server.
If you don't have YunoHost, please see [here](https://yunohost.org/install) to know how to install and enjoy it.*
If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to know how to install and enjoy it.*
## Overview

View file

@ -6,7 +6,7 @@
*[Read this readme in english.](./README.md)*
> *Ce package vous permet d'installer The Lounge rapidement et simplement sur un serveur YunoHost.
Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/install) pour savoir comment linstaller et en profiter.*
Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment linstaller et en profiter.*
## Vue densemble
The Lounge est un client Web IRC auto-hébergé.

View file

@ -429,7 +429,7 @@ module.exports = {
rootDN: "ou=users,dc=yunohost,dc=org",
// - `rootPassword`: Password of The Lounge LDAP system user.
rootPassword: "",
rootPassword: "1234",
// - `ldapFilter`: it is set to `"(objectClass=person)(memberOf=ou=accounts,dc=example,dc=com)"`
// by default.

View file

@ -94,6 +94,8 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading source files..."
ynh_secure_remove --file=$final_path
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path"
fi
@ -133,6 +135,13 @@ then
popd
fi
#=================================================
# MODIFY A CONFIG FILE
#=================================================
ynh_script_progression --message="Modifying a config file..."
ynh_add_config --template="../conf/config.js" --destination="$config_path/config.js"
#=================================================
# SETUP SYSTEMD
#=================================================
@ -151,9 +160,7 @@ ynh_add_systemd_config
ynh_script_progression --message="Securing files and directories..."
# Set permissions on app files
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data $final_path
chown -R $app: $final_path
chown -R $app: $config_path
#=================================================