mirror of
https://github.com/YunoHost-Apps/navidrome_ynh.git
synced 2024-09-03 19:46:30 +02:00
www-data (#56)
This commit is contained in:
parent
8926978b26
commit
f45f27cdbe
3 changed files with 6 additions and 6 deletions
|
@ -86,7 +86,7 @@ ynh_setup_source --dest_dir=$final_path --source_id="$architecture"
|
|||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:$app "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
|
@ -115,7 +115,7 @@ mkdir -p "$config_path"
|
|||
ynh_add_config --template="../conf/navidrome.toml" --destination="$config_path/navidrome.toml"
|
||||
|
||||
chmod 600 "$config_path/navidrome.toml"
|
||||
chown -R $app:$app "$config_path"
|
||||
chown -R $app "$config_path"
|
||||
|
||||
#=================================================
|
||||
# SETUP SYSTEMD
|
||||
|
|
|
@ -66,7 +66,7 @@ ynh_restore_file --origin_path="$final_path"
|
|||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:$app "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC RESTORATION
|
||||
|
@ -86,7 +86,7 @@ ynh_script_progression --message="Restoring various files..." --weight=2
|
|||
ynh_restore_file --origin_path="/var/lib/$app"
|
||||
|
||||
chmod 600 "/var/lib/$app/navidrome.toml"
|
||||
chown -R $app:$app "/var/lib/$app"
|
||||
chown -R $app "/var/lib/$app"
|
||||
|
||||
#=================================================
|
||||
# RESTORE SYSTEMD
|
||||
|
|
|
@ -89,7 +89,7 @@ fi
|
|||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:$app "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
|
@ -117,7 +117,7 @@ config_path="/var/lib/$app"
|
|||
#ynh_add_config --template="../conf/navidrome.toml" --destination="$config_path/navidrome.toml"
|
||||
|
||||
chmod 600 "$config_path/navidrome.toml"
|
||||
chown -R $app:$app "$config_path"
|
||||
chown -R $app "$config_path"
|
||||
|
||||
#=================================================
|
||||
# SETUP SYSTEMD
|
||||
|
|
Loading…
Add table
Reference in a new issue