18 lines
418 B
Text
18 lines
418 B
Text
|
[Unit]
|
||
|
Description=Monitoring system and time series database
|
||
|
Documentation=https://prometheus.io/docs/introduction/overview/
|
||
|
Wants=basic.target
|
||
|
After=basic.target network.target
|
||
|
|
||
|
[Service]
|
||
|
User=prometheus
|
||
|
Group=prometheus
|
||
|
EnvironmentFile=/etc/default/prometheus
|
||
|
ExecStart=/usr/bin/prometheus $ARGS
|
||
|
ExecReload=/bin/kill -HUP $MAINPID
|
||
|
KillMode=process
|
||
|
Restart=always
|
||
|
RestartSec=42s
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|