Skip to content

Commit 661bad6

Browse files
authored
Update NGINX Prometheus Exporter with systemd-activated socket (#800)
Signed-off-by: huangsijun17 <[email protected]>
1 parent fced609 commit 661bad6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

examples/systemd/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ full list of supported formats, run `man systemd.socket`.
3737
## Installation
3838

3939
1. Copy `nginx_exporter.service` and `nginx_exporter.socket` to `/etc/systemd/system/`
40-
2. Run `systemctl daemon-reload`
41-
3. Run `systemctl start nginx_exporter`
42-
4. Run `systemctl status nginx_exporter` to check the status of the service
40+
2. Add a user named `nginx_exporter`
41+
3. Run `systemctl daemon-reload`
42+
4. Run `systemctl start nginx_exporter`
43+
5. Run `systemctl status nginx_exporter` to check the status of the service
4344

4445
## Verification
4546

0 commit comments

Comments
 (0)