1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/funkwhale_ynh.git synced 2024-09-03 18:36:24 +02:00

apply Tagadda suggestions

This commit is contained in:
Thomas 2023-06-19 18:45:03 +02:00 committed by GitHub
parent de0290f0d8
commit b9dec4e273
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 4 deletions

View file

@ -5,6 +5,7 @@ PartOf=__APP__.target
[Service]
User=__APP__
Group=__APP__
WorkingDirectory=__INSTALL_DIR__/api
EnvironmentFile=__INSTALL_DIR__/config/.env

View file

@ -5,6 +5,7 @@ PartOf=__APP__.target
[Service]
User=__APP__
Group=__APP__
WorkingDirectory=__INSTALL_DIR__/api
EnvironmentFile=__INSTALL_DIR__/config/.env

View file

@ -5,6 +5,7 @@ PartOf=__APP__.target
[Service]
User=__APP__
Group=__APP__
WorkingDirectory=__INSTALL_DIR__/api
Environment="CELERYD_CONCURRENCY=0"
EnvironmentFile=__INSTALL_DIR__/config/.env

View file

@ -28,7 +28,7 @@ mkdir -p $install_dir/config
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
chown -R $app:$app "$install_dir"
#=================================================
# NGINX CONFIGURATION

View file

@ -18,7 +18,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
ynh_restore_file --origin_path="$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
chown -R $app:$app "$install_dir"
#=================================================
# RESTORE THE DATA DIRECTORY
@ -32,7 +32,7 @@ mkdir -p $data_dir/{static,media,music}
chmod 750 "$data_dir/"
chmod -R o-rwx "$data_dir/"
chown -R $app:www-data "$data_dir/"
chown -R $app:$app "$data_dir/"
#=================================================
# RESTORE THE NGINX CONFIGURATION

View file

@ -45,7 +45,7 @@ fi
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
chown -R $app:$app "$install_dir"
#=================================================
# NGINX CONFIGURATION