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
05f4b2aa87
commit
8e0075eb92
2 changed files with 5 additions and 5 deletions
|
@ -35,7 +35,7 @@ path_url="$new_path"
|
||||||
ynh_add_config --template="navidrome.toml" --destination="/var/lib/$app/navidrome.toml"
|
ynh_add_config --template="navidrome.toml" --destination="/var/lib/$app/navidrome.toml"
|
||||||
|
|
||||||
chmod 600 "/var/lib/$app/navidrome.toml"
|
chmod 600 "/var/lib/$app/navidrome.toml"
|
||||||
chown -R $app:$app "/var/lib/$app/navidrome.toml"
|
chown -R $app:$app "/var/lib/$app"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALISATION
|
# GENERIC FINALISATION
|
||||||
|
|
|
@ -42,7 +42,7 @@ ynh_script_progression --message="Setting up source files..." --weight=4
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$install_dir"
|
ynh_setup_source --dest_dir="$install_dir"
|
||||||
|
|
||||||
mkdir -p "$config_path"
|
mkdir -p "/var/lib/$app"
|
||||||
|
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R $app:$app "$install_dir"
|
chown -R $app:$app "$install_dir"
|
||||||
|
@ -75,10 +75,10 @@ ynh_multimedia_build_main_dir
|
||||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||||
|
|
||||||
# Main config File
|
# Main config File
|
||||||
ynh_add_config --template="navidrome.toml" --destination="$config_path/navidrome.toml"
|
ynh_add_config --template="navidrome.toml" --destination="/var/lib/$app/navidrome.toml"
|
||||||
|
|
||||||
chmod 600 "$config_path/navidrome.toml"
|
chmod 600 "/var/lib/$app/navidrome.toml"
|
||||||
chown -R $app:$app "$config_path"
|
chown -R $app:$app "/var/lib/$app/navidrome.toml"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
|
|
Loading…
Reference in a new issue