diff --git a/scripts/backup b/scripts/backup index 496e228..1d54546 100644 --- a/scripts/backup +++ b/scripts/backup @@ -57,7 +57,6 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_backup --src_path=/etc/systemd/system/wireguard_ui.service ynh_backup --src_path=/etc/systemd/system/wireguard_ui_conf.path ynh_backup --src_path=/etc/systemd/system/wireguard_ui_conf.service -ynh_backup --src_path="/etc/sudoers.d/${app}_ynh" #================================================= # BACKUP VARIOUS FILES diff --git a/scripts/restore b/scripts/restore index 10de44a..419fe5c 100644 --- a/scripts/restore +++ b/scripts/restore @@ -65,9 +65,6 @@ ynh_script_progression --message="Recreating the dedicated system user..." --wei # Create the dedicated user (if not existing) ynh_system_user_create --username=$app -# Restore sudoers file -ynh_restore_file --origin_path="/etc/sudoers.d/${app}_ynh" - #================================================= # RESTORE USER RIGHTS #=================================================