mirror of
https://github.com/YunoHost-Apps/weblate_ynh.git
synced 2024-10-01 13:35:04 +02:00
Merge branch 'testing'
This commit is contained in:
commit
a56c9bdce2
4 changed files with 10 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
"en": "A translation platform using Git and Python",
|
||||
"fr": "Une plateforme de traduction utilisant Git et Python"
|
||||
},
|
||||
"version": "4.6.1~ynh1",
|
||||
"version": "4.6.1~ynh2",
|
||||
"url": "https://weblate.org",
|
||||
"license": "AGPL-3.0",
|
||||
"maintainer": {
|
||||
|
|
|
@ -252,6 +252,9 @@ ynh_add_systemd_config --service="$app-celery" --template="celery-weblate.servic
|
|||
# Set permissions to app files
|
||||
mkdir -p "$final_path/avatar-cache"
|
||||
chown -R "$app": "$final_path"
|
||||
chown "$app:www-data" "$final_path"
|
||||
chown -R "$app:www-data" "$final_path/data"
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
|
||||
|
|
|
@ -72,6 +72,9 @@ ynh_system_user_create --username=$app --home_dir="$final_path" --use_shell
|
|||
# Restore permissions on app files
|
||||
mkdir -p "$final_path/avatar-cache"
|
||||
chown -R "$app": "$final_path"
|
||||
chown "$app:www-data" "$final_path"
|
||||
chown -R "$app:www-data" "$final_path/data"
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
|
||||
|
|
|
@ -298,6 +298,9 @@ yunohost service add "$app-celery" --log "/var/log/$app/weblate-celery-w1.log"
|
|||
# Set right permissions for curl installation
|
||||
mkdir -p "$final_path/avatar-cache"
|
||||
chown -R "$app": "$final_path"
|
||||
chown "$app:www-data" "$final_path"
|
||||
chown -R "$app:www-data" "$final_path/data"
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
|
||||
|
|
Loading…
Reference in a new issue