update readme

This commit is contained in:
Florian Rupp 2023-04-18 22:54:17 +02:00
parent edbc83cb42
commit c4172cc19e

View file

@ -31,6 +31,7 @@ services:
- /run/utmp:/run/utmp - /run/utmp:/run/utmp
restart: unless-stopped restart: unless-stopped
``` ```
Note: It is vital that /run/utmp is mapped in the docker container, otherwise the program can't get your session info!
### As a python script ### As a python script
Alternatively, you can simply run the prometheus-ssh-exporter.py file with python3. Alternatively, you can simply run the prometheus-ssh-exporter.py file with python3.