1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
This commit is contained in:
ericgaspar 2022-04-08 17:45:46 +02:00
parent e70e82865c
commit a34f363210
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 12 additions and 12 deletions

View file

@ -3,7 +3,7 @@
* The admin panel is available directly from the Movim UI once an admin user is logged in. To set a user admin login at least once (to register it in the database). You can then set him admin using the following command.
```
sudo php7.4 /var/www/movim/daemon.php setAdmin {jid}
sudo php8.0 /var/www/movim/daemon.php setAdmin {jid}
```
The administrators will be listed on the login page of the instance.

View file

@ -3,7 +3,7 @@
* Le panneau d'administration est disponible directement à partir de l'interface utilisateur MOVIM une fois qu'un utilisateur administrateur est connecté. Pour définir un administrateur, connectez-vous au moins une fois (pour l'enregistrer dans la base de données). Vous pouvez ensuite le régler comme administrateur à l'aide de la commande suivante :
```
sudo php7.4 /var/www/movim/daemon.php setAdmin {jid}
sudo php8.0 /var/www/movim/daemon.php setAdmin {jid}
```
Les administrateurs seront inscrits sur la page de connexion de l'instance.

View file

@ -72,6 +72,16 @@ chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"
#=================================================
# SPECIFIC RESTORATION
#=================================================
# REINSTALL DEPENDENCIES
#=================================================
ynh_script_progression --message="Reinstalling dependencies..."
# Define and install dependencies
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
#=================================================
# RESTORE THE PHP-FPM CONFIGURATION
#=================================================
@ -83,16 +93,6 @@ ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
ynh_add_fpm_config
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#=================================================
# SPECIFIC RESTORATION
#=================================================
# REINSTALL DEPENDENCIES
#=================================================
ynh_script_progression --message="Reinstalling dependencies..."
# Define and install dependencies
ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
#=================================================
# RESTORE THE POSTGRESQL DATABASE
#=================================================