1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/haste_ynh.git synced 2024-09-03 20:36:28 +02:00

Update restore

This commit is contained in:
ericgaspar 2020-09-06 21:02:36 +02:00
parent 832c9716d6
commit 01b1971950
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -92,6 +92,14 @@ chown -R $app: "$final_path/static"
chown -R $app: "/home/yunohost.app/$app" chown -R $app: "/home/yunohost.app/$app"
chmod +x /usr/bin/$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 # INTEGRATE SERVICE IN YUNOHOST
#================================================= #=================================================