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>
 
  
 +
[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]]
 +
  
  

Revision as of 17:26, 6 July 2023

Advertising: