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
@ -153,7 +153,8 @@ HTTP.")
|
||||
(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 New Issue
Block a user