mirror of
https://github.com/YunoHost-Apps/friendica_ynh.git
synced 2024-09-03 18:36:14 +02:00
delete an eventual remaining daemon.pid at restoration
This commit is contained in:
parent
acad23f7de
commit
ddc53004be
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
|
|||
|
||||
ynh_restore_file --origin_path="$install_dir"
|
||||
|
||||
if [ -f "$install_dir/daemon.pid" ]; then rm "$install_dir/daemon.pid"; fi
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R "$app:www-data" "$install_dir"
|
||||
chmod -R 775 "$install_dir/view/smarty3"
|
||||
|
|
Loading…
Add table
Reference in a new issue