dnf-json: Change dnf-json to be a daemon

The service is started via systemd activation sockets.
The service serves http POST requests, the same json as before is
expected as the body of the request, and the same json as before is sent
as the response of the request.
This commit is contained in:
Thomas Lavocat 2021-11-23 13:55:31 +01:00 committed by Thomas Lavocat
parent 4875998cbe
commit ca126e9747
14 changed files with 217 additions and 141 deletions

View file

@ -1,5 +1,6 @@
[Unit]
Description=OSBuild Composer
Requires=osbuild-dnf-json.socket
After=network.target
# Weldr API needs a local worker by default.