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:
parent
ce19fcddca
commit
500ce4a27f
2 changed files with 3 additions and 2 deletions
|
@ -18,7 +18,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1
|
|||
ynh_setup_source --dest_dir="$install_dir"
|
||||
|
||||
# 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"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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"
|
||||
|
||||
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"
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue