Verified Commit 6b77451b authored by Aral Balkan's avatar Aral Balkan
Browse files

Add title/instructions to the logs command output

parent a384a741
......@@ -115,6 +115,9 @@ switch (true) {
// Logs (proxy: journalctl --follow --unit web-server)
case command.isLogs:
ensureJournalctl()
console.log(`\n 📜 Tailing logs (press Ctrl+C to exit).\n`)
childProcess.spawn('journalctl', ['--follow', '--unit', 'web-server'], {env: process.env, stdio: 'inherit'})
break
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment