1
0
Fork 0
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:
OniriCorpe 2024-02-22 03:18:11 +01:00
parent acad23f7de
commit ddc53004be

View file

@ -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"