1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/facilmap_ynh.git synced 2024-09-03 18:36:07 +02:00
This commit is contained in:
Éric Gaspar 2024-06-08 14:47:35 +02:00
parent 5c191dca37
commit 6158385317
3 changed files with 2 additions and 9 deletions

View file

@ -44,7 +44,7 @@ chown -R "$app:www-data" "$install_dir"
ynh_script_progression --message="Adding configuration..." --weight=2
mkdir -p "$install_dir/etc"
ynh_add_config --template="../conf/config.env" --destination="$install_dir/etc/facilmap.env"
ynh_add_config --template="config.env" --destination="$install_dir/etc/facilmap.env"
chown -R "$app:www-data" "$install_dir/etc"
chmod 400 "$install_dir/etc/facilmap.env"

View file

@ -62,13 +62,6 @@ ynh_script_progression --message="Starting a systemd service..." --weight=5
ynh_systemd_action --service_name="$app" --action="start" --log_path="systemd" --line_match="Server started"
#=================================================
# GENERIC FINALIZATION
#=================================================
# RELOAD NGINX AND PHP-FPM
#=================================================
ynh_script_progression --message="Reloading NGINX web server and PHP-FPM..." --weight=2
ynh_systemd_action --service_name=nginx --action=reload
#=================================================

View file

@ -46,7 +46,7 @@ chown -R "$app:www-data" "$install_dir"
ynh_script_progression --message="Updating config files..." --weight=2
mkdir -p "$install_dir/etc"
ynh_add_config --template="../conf/config.env" --destination="$install_dir/etc/facilmap.env"
ynh_add_config --template="config.env" --destination="$install_dir/etc/facilmap.env"
chown -R "$app:www-data" "$install_dir/etc"
chmod 400 "$install_dir/etc/facilmap.env"