mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 20:37:12 +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]
|
[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]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
@ -7,9 +8,9 @@ StartLimitBurst=5
|
|||||||
StartLimitInterval=0
|
StartLimitInterval=0
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=1
|
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
|
ExecStop=/bin/kill -s SIGTERM $MAINPID
|
||||||
LimitNOFILE=32000
|
LimitNOFILE=65536
|
||||||
LimitNPROC=32000
|
LimitNPROC=32000
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
Reference in New Issue
Block a user