diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2021-05-20 10:18:36 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2021-05-20 10:26:54 +0000 |
commit | 69d8c3f90fd43297b044f3f99d99084216c9dc14 (patch) | |
tree | 8310ef68e06d16374f39e749672e3cbba7a518dd /net-mgmt/victoria-metrics/files | |
parent | d3aecae8b2728227f35dbcada395477923bc0565 (diff) | |
download | ports-69d8c3f90fd43297b044f3f99d99084216c9dc14.tar.gz ports-69d8c3f90fd43297b044f3f99d99084216c9dc14.zip |
net-mgmt/victoria-metrics: port had been improved (+)
Add missing run-time dependency on `security/ca_root_nss': apparently,
every Go application that uses TLS needs root CA certificates installed
in the default place, which are used for verifying signatures provided
by peers during establishing TLS connections.
While here, remove accidental reference to `cbsd_mq_router_config' in
the rc script and allow to reload (scrape) configuration by sending
SIGHUP to processes.
PR: 255822
Diffstat (limited to 'net-mgmt/victoria-metrics/files')
-rw-r--r-- | net-mgmt/victoria-metrics/files/victoria-metrics.in | 3 | ||||
-rw-r--r-- | net-mgmt/victoria-metrics/files/vmagent.in | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/net-mgmt/victoria-metrics/files/victoria-metrics.in b/net-mgmt/victoria-metrics/files/victoria-metrics.in index 9b260d696c0f..1d783abc77de 100644 --- a/net-mgmt/victoria-metrics/files/victoria-metrics.in +++ b/net-mgmt/victoria-metrics/files/victoria-metrics.in @@ -14,13 +14,14 @@ daemon_pidfile="/var/run/${name}-daemon.pid" logdir="/var/log/${name}" logfile="${logdir}/victoria_metrics.log" command="%%PREFIX%%/bin/victoria-metrics" -victoria_metrics_args=${cbsd_mq_router_config-"--storageDataPath=%%VICTORIA_DATA%% --retentionPeriod=1 --httpListenAddr=:8428"} +victoria_metrics_args=${victoria_metrics_args-"--storageDataPath=%%VICTORIA_DATA%% --retentionPeriod=1 --httpListenAddr=:8428"} victoria_metrics_user="%%VICTORIA_USER%%" load_rc_config ${name} start_cmd="start" stop_cmd="stop" status_cmd="status" +extra_commands="reload" start() { diff --git a/net-mgmt/victoria-metrics/files/vmagent.in b/net-mgmt/victoria-metrics/files/vmagent.in index b07a662486a9..01079f5ef292 100644 --- a/net-mgmt/victoria-metrics/files/vmagent.in +++ b/net-mgmt/victoria-metrics/files/vmagent.in @@ -21,6 +21,7 @@ load_rc_config ${name} start_cmd="start" stop_cmd="stop" status_cmd="status" +extra_commands="reload" start() { |