Add triggershell service logs command
Thin wrapper around journalctl, consistent with the existing status/uninstall wrappers around systemctl.
This commit is contained in:
@@ -74,9 +74,9 @@ installs a per-user unit (`~/.config/systemd/user/triggershell.service`, no root
|
||||
targets `/etc/systemd/system/` instead and prints the `sudo` commands to run if not already root.
|
||||
`install` reloads the systemd daemon but does not enable/start the unit itself — that's a separate,
|
||||
explicit `systemctl --user enable --now triggershell`, since it's the point where the service
|
||||
actually starts listening and running scripts. `triggershell service status`/`uninstall` are thin
|
||||
wrappers around `systemctl`; log tailing is just `journalctl --user -u triggershell -f` — not
|
||||
reimplemented.
|
||||
actually starts listening and running scripts. `triggershell service status`/`uninstall`/`logs` are
|
||||
thin wrappers around `systemctl`/`journalctl` respectively - no unit-file parsing or log storage of
|
||||
our own, journald already does that.
|
||||
|
||||
## Cross-module-graph state
|
||||
|
||||
|
||||
Reference in New Issue
Block a user