Update install

This commit is contained in:
Éric Gaspar 2023-07-17 10:12:12 +02:00
parent b6e9b5dbe8
commit 9fdab0ad3a

View file

@ -99,7 +99,7 @@ ynh_setup_source --dest_dir="$final_path"
chmod 750 "$final_path" chmod 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path" chown -R $app:www-data "$final_path"
#chmod +x "$final_path/cells" chmod +x "$final_path/cells"
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION
@ -128,16 +128,16 @@ chown -R $app:www-data "$datadir"
#================================================= #=================================================
# ADD A CONFIGURATION # ADD A CONFIGURATION
#================================================= #=================================================
#ynh_script_progression --message="Adding a configuration file..." ynh_script_progression --message="Adding a configuration file..."
#ynh_add_config --template="../conf/install-conf.yml" --destination="$final_path/install-conf.yml" ynh_add_config --template="../conf/install-conf.yml" --destination="$final_path/install-conf.yml"
#ynh_delete_file_checksum --file="$final_path/install-conf.yml" ynh_delete_file_checksum --file="$final_path/install-conf.yml"
#pushd "$final_path" pushd "$final_path"
# ynh_exec_as $app ./cells configure --cli --yaml "$final_path/install-conf.yml" ynh_exec_as $app ./cells configure --cli --yaml "$final_path/install-conf.yml"
#popd popd
#ynh_secure_remove --file="$final_path/install-conf.yml" ynh_secure_remove --file="$final_path/install-conf.yml"
#================================================= #=================================================
# SETUP SYSTEMD # SETUP SYSTEMD
@ -162,7 +162,7 @@ yunohost service add $app
ynh_script_progression --message="Starting a systemd service..." ynh_script_progression --message="Starting a systemd service..."
# Start a systemd service # Start a systemd service
#ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Restart done" ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Restart done"
#================================================= #=================================================
# SETUP SSOWAT # SETUP SSOWAT