forked from pool/golang-github-prometheus-prometheus
213acb88c1
Added systemd unit and default config on top of moio's package OBS-URL: https://build.opensuse.org/request/show/493648 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/golang-github-prometheus-prometheus?expand=0&rev=1
16 lines
354 B
Desktop File
16 lines
354 B
Desktop File
[Unit]
|
|
Description=Monitoring system and time series database
|
|
Documentation=https://prometheus.io/docs/introduction/overview/
|
|
|
|
[Service]
|
|
Restart=always
|
|
User=prometheus
|
|
EnvironmentFile=-/etc/sysconfig/prometheus
|
|
ExecStart=/usr/bin/prometheus $ARGS
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
TimeoutStopSec=20s
|
|
SendSIGKILL=no
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|