https://github.com/lab5e/go-systemctl
systemctl/journalctl go library wrapper
https://github.com/lab5e/go-systemctl
Last synced: about 1 month ago
JSON representation
systemctl/journalctl go library wrapper
- Host: GitHub
- URL: https://github.com/lab5e/go-systemctl
- Owner: lab5e
- License: apache-2.0
- Created: 2021-02-12T20:42:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-04-26T12:43:48.000Z (about 4 years ago)
- Last Synced: 2025-02-28T22:39:00.068Z (over 1 year ago)
- Language: Go
- Size: 13.7 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Systemctl / journalctl wrappers for Go
This is a small library that wraps the `systemctl` and `journalctl` CLIs for
use in Go programs.
There are CGo implementations that does the same but these require no cgo and
invokes the executables directly and parses the output.
This obviously only works on computers where there are `systemctl` and `journalctl`
commands available.
This implements a bare minium of what's needed *now* so it's not exactly jam-packed
with features :)