From 162b60bfe1411ee4e43b7f7f67790d493dd5cef4 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 7 Mar 2021 16:43:53 +0100 Subject: [PATCH] Fix linter warnings --- README.md | 9 ++++---- check_process | 58 ++++++++++++++++++++------------------------------- 2 files changed, 27 insertions(+), 40 deletions(-) diff --git a/README.md b/README.md index 2f09cb8..1bafaac 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ [![Status](https://img.shields.io/badge/status-testing-yellow.svg?style=flat)](https://github.com/YunoHost-Apps/restic_ynh/milestones) [![Integration level](https://dash.yunohost.org/integration/restic.svg)](https://dash.yunohost.org/appci/app/restic) [![GitHub license](https://img.shields.io/badge/license-GPLv3-blue.svg?style=flat)](https://raw.githubusercontent.com/YunoHost-Apps/restic_ynh/master/LICENSE) -[![GitHub issues](https://img.shields.io/github/issues/YunoHost-Apps/restic_ynh.svg?style=flat)](https://github.com/YunoHost-Apps/restic_ynh/issues) -[![Install restic with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=restic) +[![GitHub issues](https://img.shields.io/github/issues/YunoHost-Apps/restic_ynh.svg?style=flat)](https://github.com/YunoHost-Apps/restic_ynh/issues) +[![Install Restic with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=restic) > *This package allows you to install Restic quickly and simply on a YunoHost server. If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* @@ -119,7 +119,7 @@ If you want to check the backups consistency: systemctl start restic_check.service ``` -If you want to make a complete check of the backups - keep in mind that this reads all the backed up data, it can take some time depending on your target server upload speed (more on this topic in [the Restic documentation](https://restic.readthedocs.io/en/latest/045_working_with_repos.html#checking-integrity-and-consistency): +If you want to make a complete check of the backups - keep in mind that this reads all the backed up data, it can take some time depending on your target server upload speed (more on this topic in [the Restic documentation](https://restic.readthedocs.io/en/latest/045_working_with_repos.html#checking-integrity-and-consistency)): ``` systemctl start restic_check_read_data.service ``` @@ -148,8 +148,7 @@ You can setup the Restic app several times on the same server so you can backup --- -Developer info ----------------- +## Developer info Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/restic_ynh/tree/testing). diff --git a/check_process b/check_process index 46082e3..9358a19 100644 --- a/check_process +++ b/check_process @@ -1,41 +1,29 @@ ;; Test complet ; Manifest -server="dst.domain.tld" -ssh_user="sam" -passphrase="APassphrase" -conf=1 -port=2222 -backup_path=src.domain.tld -data=1 -app="all" -allow_extra_space_use=1 -on_calendar="Daily" -check_on_calendar="*-*-8,15,22 3:15" -check_read_data_on_calendar="*-*-1 3:15" + server="dst.domain.tld" + ssh_user="sam" + passphrase="APassphrase" + conf=1 + port=2222 + backup_path=src.domain.tld + data=1 + app="all" + allow_extra_space_use=1 + on_calendar="Daily" + check_on_calendar="*-*-8,15,22 3:15" + check_read_data_on_calendar="*-*-1 3:15" ; Checks -pkg_linter=1 -setup_sub_dir=0 -setup_root=0 -setup_nourl=1 -setup_private=0 -setup_public=0 -upgrade=1 -backup_restore=1 -multi_instance=1 -incorrect_path=0 -port_already_use=0 -change_url=0 -;;; Levels -Level 1=auto -Level 2=auto -Level 3=auto -Level 4=na -Level 5=auto -Level 6=auto -Level 7=auto -Level 8=0 -Level 9=0 -Level 10=0 + pkg_linter=1 + setup_sub_dir=0 + setup_root=0 + setup_nourl=1 + setup_private=0 + setup_public=0 + upgrade=1 + backup_restore=1 + multi_instance=1 + port_already_use=0 + change_url=0 ;;; Options Email=restic-ynh@coupouchetty-ramouchetty.fr Notification=down