mirror of
https://github.com/YunoHost-Apps/gogs_ynh.git
synced 2024-09-03 20:36:23 +02:00
Update install
This commit is contained in:
parent
55f899af0f
commit
9e368ac107
1 changed files with 4 additions and 0 deletions
|
@ -114,6 +114,7 @@ mkdir -p "$final_path/custom/conf/auth.d"
|
|||
mkdir -p "/home/yunohost.app/$app/data/avatars"
|
||||
mkdir -p "/home/yunohost.app/$app/data/attachments"
|
||||
|
||||
|
||||
#=================================================
|
||||
# STANDARD MODIFICATIONS
|
||||
#=================================================
|
||||
|
@ -179,6 +180,9 @@ ynh_script_progression --message="Configuring log rotation..." --weight=1
|
|||
# Use logrotate to manage application logfile(s)
|
||||
ynh_use_logrotate
|
||||
|
||||
chown -R $app:$app "/var/log/$app"
|
||||
chmod u=rwX,g=rX,o= "/var/log/$app"
|
||||
|
||||
#=================================================
|
||||
# INTEGRATE SERVICE IN YUNOHOST
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue