diff --git a/docs/install/binary.md b/docs/install/binary.md index 31669caf..da26e169 100644 --- a/docs/install/binary.md +++ b/docs/install/binary.md @@ -81,7 +81,7 @@ See how to create [Linux service](linux-service.md) to start Diun automatically. ### 2. Running from terminal ```shell -DIUN_DB_PATH=/var/lib/diun/diun.db /usr/local/bin/diun --config /etc/diun/diun.yml +DIUN_DB_PATH=/var/lib/diun/diun.db /usr/local/bin/diun serve --config /etc/diun/diun.yml ``` ## Updating to a new version diff --git a/docs/install/linux-service.md b/docs/install/linux-service.md index eab43fc4..0a2cb250 100644 --- a/docs/install/linux-service.md +++ b/docs/install/linux-service.md @@ -19,7 +19,7 @@ RestartSec=2s Type=simple User=diun Group=diun -ExecStart=/usr/local/bin/diun --config /etc/diun/diun.yml --log-level info +ExecStart=/usr/local/bin/diun serve --config /etc/diun/diun.yml --log-level info Restart=always #Environment=TZ=Europe/Paris Environment=DIUN_DB_PATH=/var/lib/diun/diun.db diff --git a/docs/providers/dockerfile.md b/docs/providers/dockerfile.md index 75622427..7804229f 100644 --- a/docs/providers/dockerfile.md +++ b/docs/providers/dockerfile.md @@ -61,7 +61,7 @@ With this Dockerfile the following images will be analyzed: Now let's start Diun: ``` -$ diun --config /etc/diun/diun.yml +$ diun serve --config /etc/diun/diun.yml Thu, 29 Apr 2021 14:41:55 CEST INF Starting Diun version=4.16.0 Thu, 29 Apr 2021 14:41:55 CEST INF Configuration loaded from file: /etc/diun/diun.yml Thu, 29 Apr 2021 14:41:55 CEST WRN No notifier available diff --git a/docs/providers/file.md b/docs/providers/file.md index 86e9b4da..16689e63 100644 --- a/docs/providers/file.md +++ b/docs/providers/file.md @@ -112,7 +112,7 @@ Here we want to analyze all tags of `crazymax/cloudflared` and `docker.bintray.i Now let's start Diun: ``` -$ diun --config diun.yml +$ diun serve --config diun.yml Sat, 14 Dec 2019 15:32:23 UTC INF Starting Diun 2.0.0 Sat, 14 Dec 2019 15:32:23 UTC INF Found 2 image(s) to analyze... provider=file Sat, 14 Dec 2019 15:32:25 UTC INF New image found id=crazymax/cloudflared image=docker.io/crazymax/cloudflared:latest provider=file