mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 20:37:12 +01:00
c2afa3fdd7
* adds snap package for victoria-metrics * Update README.md Co-authored-by: Aliaksandr Valialkin <valyala@gmail.com>
7 lines
260 B
Bash
Executable File
7 lines
260 B
Bash
Executable File
#!/bin/bash
|
|
|
|
test -e $SNAP_DATA/extra_flags || echo 'FLAGS=""' > $SNAP_DATA/extra_flags
|
|
|
|
# get args
|
|
. $SNAP_DATA/extra_flags
|
|
$SNAP/bin/victoria-metrics -storageDataPath /var/lib/victoriametrics --promscrape.config /etc/victoriametrics-scrape-config.yaml $FLAGS |