From c7f628da789507e934a09f6d8965913f4d2120d4 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Wed, 25 Nov 2020 23:59:58 +0100 Subject: [PATCH] Fix doc (#146) --- docs/install/binary.md | 2 +- docs/install/linux-service.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/install/binary.md b/docs/install/binary.md index 400c2a3c..521cb80d 100644 --- a/docs/install/binary.md +++ b/docs/install/binary.md @@ -76,7 +76,7 @@ See how to create [Linux service](linux-service.md) to start FTPGrab automatical ### 2. Running from terminal ```shell -$ FTPGRAB_DB=/var/lib/ftpgrab/ftpgrab.db /usr/local/bin/ftpgrab \ +$ FTPGRAB_DB_PATH=/var/lib/ftpgrab/ftpgrab.db /usr/local/bin/ftpgrab \ --config /etc/ftpgrab/ftpgrab.yml \ --schedule "*/30 * * * *" ``` diff --git a/docs/install/linux-service.md b/docs/install/linux-service.md index f307e911..7d93e27a 100644 --- a/docs/install/linux-service.md +++ b/docs/install/linux-service.md @@ -22,7 +22,7 @@ Group=ftpgrab ExecStart=/usr/local/bin/ftpgrab --config /etc/ftpgrab/ftpgrab.yml --schedule "*/30 * * * *" --log-level info Restart=always #Environment=TZ=Europe/Paris -Environment=FTPGRAB_DB=/var/lib/ftpgrab/ftpgrab.db +Environment=FTPGRAB_DB_PATH=/var/lib/ftpgrab/ftpgrab.db [Install] WantedBy=multi-user.target