1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jellyfin_ynh.git synced 2024-09-03 19:26:29 +02:00

--not_mandatory all the not mandatory things

This commit is contained in:
tituspijean 2021-05-25 13:52:40 +02:00
parent a6c7b5d626
commit 430685b8d1
2 changed files with 4 additions and 3 deletions

View file

@ -60,7 +60,7 @@ ynh_backup --src_path="/etc/logrotate.d/$app"
# BACKUP SYSTEMD # BACKUP SYSTEMD
#================================================= #=================================================
ynh_backup --src_path="/etc/systemd/system/jellyfin.service.d" ynh_backup --src_path="/etc/systemd/system/jellyfin.service.d" --not_mandatory
ynh_backup --src_path="/lib/systemd/system/jellyfin.service" ynh_backup --src_path="/lib/systemd/system/jellyfin.service"
#================================================= #=================================================
@ -68,7 +68,7 @@ ynh_backup --src_path="/lib/systemd/system/jellyfin.service"
#================================================= #=================================================
ynh_backup --src_path="$config_path" ynh_backup --src_path="$config_path"
ynh_backup --src_path="/etc/default/jellyfin" ynh_backup --src_path="/etc/default/jellyfin" --not_mandatory
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT

View file

@ -65,7 +65,8 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
ynh_restore_file --origin_path="$final_path" ynh_restore_file --origin_path="$final_path"
ynh_restore_file --origin_path="$config_path" ynh_restore_file --origin_path="$config_path"
ynh_restore_file --origin_path="/etc/default/jellyfin" ynh_restore_file --origin_path="/etc/default/jellyfin" --not_mandatory
ynh_restore_file --origin_path="/etc/systemd/system/jellyfin.service.d" --not_mandatory
#================================================= #=================================================
# RECREATE THE DEDICATED USER # RECREATE THE DEDICATED USER