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

fix issue?

This commit is contained in:
Thomas 2023-06-16 14:33:15 +02:00 committed by GitHub
parent 019c7d13ae
commit ab7dbf66f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View file

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

View file

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

View file

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

View file

@ -63,6 +63,8 @@ ynh_script_progression --message="Assure correct permissions to $data_dir..." --
chmod 750 "$data_dir"
chmod -R o-rwx "$data_dir/"
chown -R $app:www-data "$data_dir/"
#following line is to be sure that the directory has appropriate owner rights (as above commands doesnt seem to have an effect)
chown -R $app:www-data "$data_dir/data/media/tracks"
#=================================================
# SPECIFIC UPGRADE