Difference between revisions of "/lib/systemd/system/prometheus.service"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
  [[/lib/systemd/system/]]prometheus.service
 
  [[/lib/systemd/system/]]prometheus.service
 +
<pre>
 +
[Unit]
 +
Description=Monitoring system and time series database
 +
Documentation=https://prometheus.io/docs/introduction/overview/
  
 +
[Service]
 +
Restart=always
 +
User=prometheus
 +
EnvironmentFile=/etc/default/prometheus
 +
ExecStart=/usr/bin/prometheus $ARGS
 +
ExecReload=/bin/kill -HUP $MAINPID
 +
TimeoutStopSec=20s
 +
SendSIGKILL=no
  
 +
[Install]
 +
WantedBy=multi-user.target
 +
</pre>
  
  
 +
 +
== See also ==
 
* {{systemd}}
 
* {{systemd}}
 
* {{prometheus}}
 
* {{prometheus}}

Revision as of 19:14, 28 September 2022

Advertising: