mirror of
https://github.com/YunoHost-Apps/ttrss_ynh.git
synced 2024-10-01 13:34:46 +02:00
commit
e63a88c345
3 changed files with 6 additions and 6 deletions
|
@ -112,7 +112,7 @@ ynh_add_systemd_config
|
|||
#=================================================
|
||||
|
||||
# Set permissions to app files
|
||||
chown -R root: $final_path
|
||||
chown -R root:$app $final_path
|
||||
chown -R $app $final_path/{cache,feed-icons,lock}
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -67,7 +67,7 @@ ynh_system_user_create --username=$app
|
|||
#=================================================
|
||||
|
||||
# Set permissions to app files
|
||||
chown -R root: $final_path
|
||||
chown -R root:$app $final_path
|
||||
chown -R $app $final_path/{cache,feed-icons,lock}
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -135,7 +135,8 @@ then
|
|||
#=================================================
|
||||
ynh_script_progression --message="Upgrading ttrss database..." --weight=2
|
||||
|
||||
chown -R $app: $final_path
|
||||
chown -R root:$app $final_path
|
||||
chown -R $app $final_path/{cache,feed-icons,lock}
|
||||
ynh_exec_as $app php"${phpversion}" ${final_path}/update.php --update-schema
|
||||
fi
|
||||
|
||||
|
@ -154,8 +155,7 @@ ynh_add_systemd_config
|
|||
#=================================================
|
||||
|
||||
# Set permissions to app files
|
||||
chown -R root: $final_path
|
||||
chmod 0755 $final_path
|
||||
chown -R root:$app $final_path
|
||||
chown -R $app $final_path/{cache,feed-icons,lock}
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue