mirror of
https://github.com/YunoHost-Apps/navidrome_ynh.git
synced 2024-09-03 19:46:30 +02:00
Fix
This commit is contained in:
parent
681cd3a121
commit
e31ed8496e
3 changed files with 3 additions and 4 deletions
|
@ -110,7 +110,6 @@ mkdir -p "$config_path"
|
|||
|
||||
# Main config File
|
||||
ynh_add_config --template="../conf/navidrome.toml" --destination="$config_path/navidrome.toml"
|
||||
ynh_store_file_checksum --file="$config_path/navidrome.toml"
|
||||
|
||||
#=================================================
|
||||
# SETUP SYSTEMD
|
||||
|
@ -131,7 +130,7 @@ ynh_script_progression --message="Securing files and directories..." --weight=1
|
|||
chown -R $app:$app "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:$app "$config_path"
|
||||
chmod 600 "$config_path/navidrome.toml"
|
||||
chmod 600 "/var/lib/$app/navidrome.toml"
|
||||
|
||||
#=================================================
|
||||
# INTEGRATE SERVICE IN YUNOHOST
|
||||
|
|
|
@ -80,7 +80,7 @@ ynh_script_progression --message="Restoring user rights..."
|
|||
chown -R $app:$app "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:$app "/var/lib/$app"
|
||||
chmod 600 "$config_path/navidrome.toml"
|
||||
chmod 600 "/var/lib/$app/navidrome.toml"
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC RESTORATION
|
||||
|
|
|
@ -137,7 +137,7 @@ ynh_script_progression --message="Securing files and directories..."
|
|||
chown -R $app:$app "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:$app "$config_path"
|
||||
chmod 600 "$config_path/navidrome.toml"
|
||||
chmod 600 "/var/lib/$app/navidrome.toml"
|
||||
|
||||
#=================================================
|
||||
# INTEGRATE SERVICE IN YUNOHOST
|
||||
|
|
Loading…
Add table
Reference in a new issue