Doc typos

This commit is contained in:
CrazyMax
2021-05-31 11:34:14 +02:00
parent e1bb4eea7f
commit 1fbdd62c8a
4 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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