Add triggershell service logs command
CI / Checks (push) Failing after 48s
CI / Publish to npm registry (push) Skipped

Thin wrapper around journalctl, consistent with the existing status/uninstall wrappers around systemctl.
This commit is contained in:
2026-08-19 17:58:41 +02:00
parent 96a66fc857
commit e63129d156
4 changed files with 45 additions and 3 deletions
+1
View File
@@ -113,6 +113,7 @@ the script — always as a discrete argv element or env var, never interpolated
| `triggershell service install [--system]` | Install a systemd unit that runs `triggershell start` (per-user by default, Linux only) |
| `triggershell service uninstall [--system]` | Stop, disable, and remove the systemd unit |
| `triggershell service status [--system]` | Show the systemd unit's status |
| `triggershell service logs [-n LINES] [--no-follow] [--system]` | Tail the systemd unit's logs (wraps `journalctl`) |
### Running scripts from the CLI