An open API service indexing awesome lists of open source software.

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

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 :)