1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/navidrome_ynh.git synced 2024-09-03 19:46:30 +02:00
This commit is contained in:
ericgaspar 2021-03-24 08:45:17 +01:00
parent 681cd3a121
commit e31ed8496e
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 3 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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