mirror of
https://github.com/YunoHost-Apps/castopod_ynh.git
synced 2024-09-03 18:16:14 +02:00
Fix
This commit is contained in:
parent
c3c0149f7f
commit
4d65f2175d
3 changed files with 0 additions and 18 deletions
|
@ -113,14 +113,8 @@ ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
|
|||
|
||||
# Set permissions to app files
|
||||
chown -R $app:$app $final_path
|
||||
#chmod o-rwx $final_path
|
||||
chmod 600 $final_path/.env
|
||||
|
||||
# chown -R root:root $final_path
|
||||
# chmod o-rwx $final_path
|
||||
# chown -R www-data:www-data $final_path/writable
|
||||
# chown -R www-data:www-data $final_path/public/media
|
||||
|
||||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
#=================================================
|
||||
|
|
|
@ -73,14 +73,8 @@ ynh_restore_file --origin_path="$final_path"
|
|||
|
||||
# Set permissions to app files
|
||||
chown -R $app:$app $final_path
|
||||
#chmod o-rwx $final_path
|
||||
chmod 600 $final_path/.env
|
||||
|
||||
# chown -R root:root $final_path
|
||||
# chmod o-rwx $final_path
|
||||
# chown -R www-data:www-data $final_path/writable
|
||||
# chown -R www-data:www-data $final_path/public/media
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE PHP-FPM CONFIGURATION
|
||||
#=================================================
|
||||
|
|
|
@ -109,14 +109,8 @@ ynh_add_fpm_config --package="$extra_php_dependencies"
|
|||
|
||||
# Set permissions to app files
|
||||
chown -R $app:$app $final_path
|
||||
#chmod o-rwx $final_path
|
||||
chmod 600 $final_path/.env
|
||||
|
||||
# chown -R root:root $final_path
|
||||
# chmod o-rwx $final_path
|
||||
# chown -R www-data:www-data $final_path/writable
|
||||
# chown -R www-data:www-data $final_path/public/media
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue