diff --git a/scripts/restore b/scripts/restore index f643cc6..11accd7 100755 --- a/scripts/restore +++ b/scripts/restore @@ -92,6 +92,14 @@ chown -R $app: "$final_path/static" chown -R $app: "/home/yunohost.app/$app" chmod +x /usr/bin/$app +#================================================= +# RESTORE HANDLE LOG FILES +#================================================= + +mkdir -p /var/log/$app +touch /var/log/$app/$app.log +chown $app -R /var/log/$app + #================================================= # INTEGRATE SERVICE IN YUNOHOST #=================================================