mirror of
https://github.com/YunoHost-Apps/sonarr_ynh.git
synced 2024-09-03 20:26:19 +02:00
try to fix permission, debug
This commit is contained in:
parent
43707c4b1c
commit
664a9f4e4e
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
|
|||
ynh_secure_remove "$install_dir"
|
||||
ynh_restore_file --origin_path="$install_dir"
|
||||
|
||||
chmod 750 "$install_dir"
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R "$app:$app" "$install_dir"
|
||||
|
||||
|
@ -70,6 +71,7 @@ fi
|
|||
ynh_systemd_action --service_name=nginx --action=reload
|
||||
|
||||
|
||||
ynh_exec_warn ls -lah "$install_dir"
|
||||
ynh_exec_warn cat "$install_dir/config.xml"
|
||||
ynh_exec_warn cat "/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue