mirror of
https://github.com/YunoHost-Apps/peertube_ynh.git
synced 2024-09-03 19:56:29 +02:00
move datadir owning
This commit is contained in:
parent
15f8664900
commit
0e170b49c4
1 changed files with 4 additions and 2 deletions
|
@ -144,6 +144,10 @@ datadir="/home/yunohost.app/${app}/storage"
|
||||||
# Create app folders
|
# Create app folders
|
||||||
mkdir -p "$datadir"
|
mkdir -p "$datadir"
|
||||||
|
|
||||||
|
|
||||||
|
# Give permission to the datadir
|
||||||
|
chown -R "$app":"$app" "$datadir"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BUILD YARN DEPENDENCIES
|
# BUILD YARN DEPENDENCIES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -221,8 +225,6 @@ ynh_send_readme_to_admin "$message"
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
chown -R "$app":"$app" $final_path
|
chown -R "$app":"$app" $final_path
|
||||||
|
|
||||||
# Give permission to the datadir
|
|
||||||
chown -R "$app":"$app" "$datadir"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP LOGROTATE
|
# SETUP LOGROTATE
|
||||||
|
|
Loading…
Add table
Reference in a new issue