codexlynx / systemd-rest

:gear: A minimal HTTP REST interface for systemd.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

:gear: A minimal HTTP REST interface for systemd.

License:GNU General Public License v3.0


Languages

Language:Go 50.2%Language:Python 27.7%Language:Dockerfile 10.4%Language:Shell 8.9%Language:Makefile 2.9%