/systemd-rest

:gear: A minimal HTTP REST interface for systemd.

Primary LanguageGoGNU General Public License v3.0GPL-3.0

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.

Variable Description Default
PORT HTTP service listen port 6789
ADDRESS HTTP service listen address 127.0.0.1
MODE Service mode, can be release or debug release

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.