1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grammalecte_ynh.git synced 2024-09-03 20:36:23 +02:00

try to fix permission

This commit is contained in:
Salamandar 2024-02-05 14:24:47 +01:00
parent ce19fcddca
commit 500ce4a27f
2 changed files with 3 additions and 2 deletions

View file

@ -18,7 +18,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1
ynh_setup_source --dest_dir="$install_dir" ynh_setup_source --dest_dir="$install_dir"
# Set permissions to app files # Set permissions to app files
chmod u+x "$install_dir/grammalecte-server.py" chmod +x "$install_dir/grammalecte-server.py"
chown -R "$app:www-data" "$install_dir" chown -R "$app:www-data" "$install_dir"
#================================================= #=================================================

View file

@ -18,7 +18,8 @@ ynh_script_progression --message="Stopping a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log" ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log"
chmod u+x "$install_dir/grammalecte-server.py" # Set permissions to app files
chmod +x "$install_dir/grammalecte-server.py"
chown -R "$app:www-data" "$install_dir" chown -R "$app:www-data" "$install_dir"
#================================================= #=================================================