update readme
This commit is contained in:
parent
edbc83cb42
commit
c4172cc19e
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue