Categorygithub.com/codexlynx/systemd-rest
module
0.0.0-20220317234018-f2568a546935
Repository: https://github.com/codexlynx/systemd-rest.git
Documentation: pkg.go.dev

# README

systemd-rest / A minimal HTTP REST interface for systemd.

AUR

Architecture:

This service communicates with systemd via dbus (IPC). http <-> systemd-rest <-> dbus <-> systemd

Features:

  • Manage units (start, stop, status)
  • List units
  • Read unit journal

Configuration:

Currently configured using environment variables.

VariableDescriptionDefault
PORTHTTP service listen port6789
ADDRESSHTTP service listen address127.0.0.1
MODEService mode, can be release or debugrelease

Development:

  • Launch tests:
$ make test
  • Launch service for tests development:
$ make test ARGS="follow"
$ PORT=7777 pytest -sv
  • Generate build:
$ make

License:

GPL (GNU General Public License) 3.0

More info: here

About

This service was created by: @codexlynx.

# Packages

No description provided by the author