app-metrics/prometheus: Add ebuild with systemd service file.
Package-Manager: Portage-2.3.76, Repoman-2.3.16
This commit is contained in:
parent
9a28d3c842
commit
87ed751ddd
8 changed files with 173 additions and 0 deletions
15
app-metrics/prometheus/files/prometheus.service
Normal file
15
app-metrics/prometheus/files/prometheus.service
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
[Unit]
|
||||
Description=Prometheus monitoring system and time series database
|
||||
Documentation=https://prometheus.io/docs/introduction/overview/
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/conf.d/prometheus
|
||||
User=prometheus
|
||||
Group=prometheus
|
||||
Restart=on-failure
|
||||
ExecStart=/usr/bin/prometheus --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/var/lib/prometheus/data $command_args
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue