mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-11 14:53:49 +00:00
c2afa3fdd7
* adds snap package for victoria-metrics * Update README.md Co-authored-by: Aliaksandr Valialkin <valyala@gmail.com>
7 lines
No EOL
260 B
Bash
Executable file
7 lines
No EOL
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 |