diff --git a/bash/workflow_nextcloud/README.md b/bash/workflow_nextcloud/README.md index e146b0d9..da914c7c 100644 --- a/bash/workflow_nextcloud/README.md +++ b/bash/workflow_nextcloud/README.md @@ -9,9 +9,16 @@ idéalement dans: ``` # débuter +Récupérer le script d'initialisation +```bash +git clone https://forge.chapril.org/tykayn/scripts +cd scripts/bash/workflow_nextcloud +``` Configrer les variables, puis lancer le script d'initialisation ```bash -bash ~/Nextcloud/ressources/workflow_nextcloud/init_workflow_tykayn.sh +editor workflow_variables.sh +sudo bash ~/Nextcloud/ressources/workflow_nextcloud/init_workflow_tykayn.sh ``` -# TODO gestion des secrets automatiques pour les rsync \ No newline at end of file +# TODO +* gestion des secrets automatiques pour les rsync \ No newline at end of file diff --git a/bash/workflow_nextcloud/workflow_variables.sh b/bash/workflow_nextcloud/workflow_variables.sh index 67010a44..27cf2c3f 100644 --- a/bash/workflow_nextcloud/workflow_variables.sh +++ b/bash/workflow_nextcloud/workflow_variables.sh @@ -39,5 +39,7 @@ export LOG_FILE_BACKUP_DATES="$ARCHIVE_SYNCABLE/www/backup/summary_log_backup.lo export main_archive_source_sftop_spaceship="/mnt/spaceship_poule" export IP_DU_NAS="/mnt/spaceship_poule" +export CURRENT_YEAR=$(date +%Y) + # add custom workflow scripts export PATH=$WORKFLOW_PATH:$PATH \ No newline at end of file