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:
parent
019c7d13ae
commit
ab7dbf66f8
4 changed files with 5 additions and 3 deletions
|
@ -5,7 +5,7 @@ PartOf=__APP__.target
|
|||
|
||||
[Service]
|
||||
User=__APP__
|
||||
Group=__APP__
|
||||
Group=www-data
|
||||
WorkingDirectory=__INSTALL_DIR__/api
|
||||
EnvironmentFile=__INSTALL_DIR__/config/.env
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ PartOf=__APP__.target
|
|||
|
||||
[Service]
|
||||
User=__APP__
|
||||
Group=__APP__
|
||||
Group=www-data
|
||||
WorkingDirectory=__INSTALL_DIR__/api
|
||||
EnvironmentFile=__INSTALL_DIR__/config/.env
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 doesn’t seem to have an effect)
|
||||
chown -R $app:www-data "$data_dir/data/media/tracks"
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC UPGRADE
|
||||
|
|
Loading…
Reference in a new issue