mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
metrics.sh: Fix inverted is_active result
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
parent
fb102d233c
commit
b8402459b1
@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
is_active() {
|
||||
systemctl is-active -q prometheus-node-exporter || return 0
|
||||
return 1
|
||||
systemctl is-active -q prometheus-node-exporter || return 1
|
||||
return 0
|
||||
}
|
||||
|
||||
tmpl_metrics_enabled() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user