oh right this was supposed to be http
This commit is contained in:
parent
1ca5aa2e97
commit
adaa020029
14 changed files with 1187 additions and 1040 deletions
|
|
@ -96,14 +96,12 @@ def dynix_append_cli(option: str, value: Any):
|
|||
def dynix_append_daemon(option: str, value: Any):
|
||||
import json
|
||||
payload = json.dumps(dict(
|
||||
action="append",
|
||||
args=dict(
|
||||
name=option,
|
||||
value=value,
|
||||
),
|
||||
name=option,
|
||||
value=value,
|
||||
))
|
||||
|
||||
status = machine.succeed(f"echo '{payload}' | {testing_client} /run/user/0/dynix.sock")
|
||||
#status = machine.succeed(f"echo '{payload}' | {testing_client} /run/user/0/dynix.sock")
|
||||
status = machine.succeed(f"echo '{payload}' | curl localhost:42420/set --json @-")
|
||||
machine.log(f"daemon replied with status {status}")
|
||||
machine.wait_for_unit("distccd.service")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue