2019-07-22 16:12:48 +02:00
|
|
|
[Unit]
|
2019-07-26 20:56:30 +02:00
|
|
|
Description=High-performance, cost-effective and scalable time series database, long-term remote storage for Prometheus
|
|
|
|
After=network.target
|
2019-07-22 16:12:48 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
StartLimitBurst=5
|
|
|
|
StartLimitInterval=0
|
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=1
|
2019-07-28 10:06:24 +02:00
|
|
|
ExecStart=/usr/bin/victoria-metrics-prod -storageDataPath=/var/lib/victoria-metrics-data
|
2019-07-22 16:12:48 +02:00
|
|
|
ExecStop=/bin/kill -s SIGTERM $MAINPID
|
2019-07-26 20:56:30 +02:00
|
|
|
LimitNOFILE=65536
|
2019-07-22 16:12:48 +02:00
|
|
|
LimitNPROC=32000
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|