1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/plume_ynh.git synced 2024-09-03 20:15:54 +02:00

add log folder creation

This commit is contained in:
yalh76 2019-02-03 05:17:39 +01:00
parent 4d9053288e
commit b6ad14baa2

View file

@ -132,9 +132,12 @@ ynh_system_user_create "$app" "$final_path"
#================================================= #=================================================
# SPECIFIC UPGRADE # SPECIFIC UPGRADE
#================================================= #=================================================
# ... # CREATE LOG FOLDER
#================================================= #=================================================
mkdir -p "/var/log/$app"
chown -R "$app":"$app" "/var/log/$app"
#================================================= #=================================================
# CLOSE A PORT # CLOSE A PORT
#================================================= #=================================================