mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
17 lines
402 B
SYSTEMD
17 lines
402 B
SYSTEMD
|
[Unit]
|
||
|
Description=VictoriaMetrics is a fast, cost-effective and scalable time series database.
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
StartLimitBurst=5
|
||
|
StartLimitInterval=0
|
||
|
Restart=on-failure
|
||
|
RestartSec=1
|
||
|
ExecStart=/usr/sbin/victoria-metrics -storageDataPath /var/lib/victoria-metrics -retentionPeriod 12
|
||
|
ExecStop=/bin/kill -s SIGTERM $MAINPID
|
||
|
LimitNOFILE=32000
|
||
|
LimitNPROC=32000
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|