mirror of
https://github.com/YunoHost-Apps/facilmap_ynh.git
synced 2024-09-03 18:36:07 +02:00
fix
This commit is contained in:
parent
5c191dca37
commit
6158385317
3 changed files with 2 additions and 9 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue