mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 12:31:07 +01:00
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:
parent
c98725db55
commit
6aeac37fc5
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user