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.
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.
- Twitter: https://twitter.com/codexlynx
- GitHub: https://github.com/codexlynx
# Packages
No description provided by the author