header(); if(!Auth::hasPermission('SERVER::MANAGE')) { ?> footer(); exit(); } #systemctl status if(defined('DEMO') && DEMO) { $result = []; } else { $result = json_decode(shell_exec('systemctl list-units --type=service --output=json-pretty')); } ?>
unit; ?>

description; ?>

sub == 'running') { ?>
footer(); ?>