From 4a12a1a736d747a678f220d72a17fb17f23b1eb6 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Wed, 12 Jun 2019 15:44:48 +0200 Subject: [PATCH] add documentation --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 785f2a3..895387e 100644 --- a/README.md +++ b/README.md @@ -30,15 +30,15 @@ Configuration Générér un mail (assurez-vous d'avoir la commande `sendmail` qui fonctionne) : ```bash -export EMAIL_RECIPIENT=you@example.com -export EMAIL_SENDER=system@example.com +export EMAIL_RECIPIENT="you@example.com" +export EMAIL_SENDER="system@example.com" export EMAIL_SUBJECT="Rapport de $(hostname)" ``` Générér un fichier : ```bash -export HTML_OUTPUT=/var/www/html/report.html +export HTML_OUTPUT="/var/www/html/report.html" ``` Inclure l'analyse S.M.A.R.T via smartmontools : @@ -58,10 +58,10 @@ Vous pouvez créer vos templates (se référer au code source). ```bash # HTML -export TEMPLATE=/path/to/deblan-report/templates/deblan/ +export TEMPLATE="/path/to/deblan-report/templates/deblan/" # Text -export TEMPLATE=/path/to/deblan-report/templates/deblan-text/ +export TEMPLATE="/path/to/deblan-report/templates/deblan-text/" ``` Une fois les variables d'environnement ajoutées, il suffit de lancer `sudo ./report`.