aboutsummaryrefslogtreecommitdiffstats
path: root/libs/services.php
diff options
context:
space:
mode:
Diffstat (limited to 'libs/services.php')
-rw-r--r--libs/services.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/services.php b/libs/services.php
index 0c593cf..c61ac38 100644
--- a/libs/services.php
+++ b/libs/services.php
@@ -26,7 +26,7 @@ if (count($Config->get('services:list')) > 0)
$status = 0;
}
elseif ($protocol == 'systemd') {
- $status = Misc::systemdServiceActive($host) ? 1 : 0;
+ $status = Misc::systemdServiceActive($host) ? 0 : 1;
}
else {
throw new Exception('Invalid protocol: ' . $protocol);