diff options
author | thecalcaholic <6317548+theCalcaholic@users.noreply.github.com> | 2022-07-28 20:28:28 +0300 |
---|---|---|
committer | Tobias K <6317548+theCalcaholic@users.noreply.github.com> | 2022-08-12 15:26:32 +0300 |
commit | 0e67ccc8bb3994f6ccfea62cdaec8ccecc570f28 (patch) | |
tree | 915945dd123e9f2460f2fff866571d7f2ed3af2d /bin | |
parent | 5b183f56bfa4db444e8f601495c4249f06f196f6 (diff) |
ncp.cfg: Update NC to 24.0.3
ncp-app,nextcloudpincp-previews: Mark as compatible with NC 24
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ncp/SYSTEM/metrics.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ncp/SYSTEM/metrics.sh b/bin/ncp/SYSTEM/metrics.sh index 5fd6b3c0..33903e10 100644 --- a/bin/ncp/SYSTEM/metrics.sh +++ b/bin/ncp/SYSTEM/metrics.sh @@ -48,7 +48,7 @@ metrics_services() { if [[ "$cmd" =~ (start|stop|restart|reload|status) ]] then - if ! is_docker && ! [[ -d /run/systemd/system ]] + if ! is_docker && [[ "$INIT_SYSTEM" != "systemd" ]] then echo "Probably running in chroot. Ignoring 'metrics_services $cmd'..." return 0 |