pick up .service file from ./rpm (#126)

* pick up .service file from ./rpm

* feedback from @patsevanton

* remove 'start' from ExecStart command
This commit is contained in:
Kostya Vasilyev 2019-07-26 21:56:30 +03:00 committed by Aliaksandr Valialkin
parent c98725db55
commit 6aeac37fc5

View file

@ -1,5 +1,6 @@
[Unit]
Description=VictoriaMetrics is a fast, cost-effective and scalable time series database.
Description=High-performance, cost-effective and scalable time series database, long-term remote storage for Prometheus
After=network.target
[Service]
Type=simple
@ -7,9 +8,9 @@ StartLimitBurst=5
StartLimitInterval=0
Restart=on-failure
RestartSec=1
ExecStart=/usr/sbin/victoria-metrics -storageDataPath /var/lib/victoria-metrics-data -retentionPeriod 12
ExecStart=/usr/local/bin/victoriametrics -storageDataPath=/var/lib/victoria-metrics-data
ExecStop=/bin/kill -s SIGTERM $MAINPID
LimitNOFILE=32000
LimitNOFILE=65536
LimitNPROC=32000
[Install]