server->ssh()->exec($command, sprintf('status-%s', $unit)); } public function start(string $unit): string { $command = <<server->ssh()->exec($command, sprintf('start-%s', $unit)); } public function stop(string $unit): string { $command = <<server->ssh()->exec($command, sprintf('stop-%s', $unit)); } public function restart(string $unit): string { $command = <<server->ssh()->exec($command, sprintf('restart-%s', $unit)); } }