From 5e382b5cfe70bfc309a79d886a70bf382450380d Mon Sep 17 00:00:00 2001 From: Yingchi Long Date: Mon, 20 Jan 2025 11:04:55 +0800 Subject: [PATCH] bin/runcpu: add command suggests for systemd services --- src/bin/runcpu.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bin/runcpu.ts b/src/bin/runcpu.ts index 2cd6642..3782bae 100644 --- a/src/bin/runcpu.ts +++ b/src/bin/runcpu.ts @@ -142,3 +142,7 @@ await promisifySpawn(systemdRunSPEC({ specConfig, id: uuid, })); + +console.log(`Command suggest:`); +console.log(chalk.green(`systemctl --user status ${uuid}`)); +console.log(chalk.green(`journalctl --user -xeu ${uuid}`)); \ No newline at end of file