Fix Service logs

This commit is contained in:
yalh76
2019-02-02 00:33:27 +01:00
parent f02a3a54e5
commit 3f3fec6d1c
3 changed files with 18 additions and 2 deletions

View File

@@ -170,9 +170,17 @@ ynh_system_user_create "$app" "$final_path"
#=================================================
# SPECIFIC SETUP
#=================================================
# ...
# CREATE LOG FOLDER
#=================================================
mkdir -p "/var/log/$app"
chown -R "$app":"$app" "/var/log/$app"
#=================================================
# MAKE SETUP
#=================================================
chown -R "$app":"$app" "$final_path"
pushd $final_path