mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 19:19:20 -05:00
services: prometheus-node-exporter: Use a log file.
This makes the logs easier to find and read. * gnu/services/monitoring.scm (prometheus-node-exporter-shepherd-service): Pass #:log-file to make-forkexec-constructor.
This commit is contained in:
parent
6574298e4e
commit
fa0975ad71
1 changed files with 2 additions and 1 deletions
|
@ -153,7 +153,8 @@ (define prometheus-node-exporter-shepherd-service
|
|||
(list #$(file-append package "/bin/node_exporter")
|
||||
"--web.listen-address" #$web-listen-address)
|
||||
#:user "prometheus-node-exporter"
|
||||
#:group "prometheus-node-exporter"))
|
||||
#:group "prometheus-node-exporter"
|
||||
#:log-file "/var/log/prometheus-node-exporter.log"))
|
||||
(stop #~(make-kill-destructor)))))))
|
||||
|
||||
(define prometheus-node-exporter-service-type
|
||||
|
|
Loading…
Reference in a new issue