From e30651ac8d3efb13cc23b843273d780f4da75708 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 17 Oct 2022 16:51:53 +0530 Subject: webhook: Use to configure socket. * doc/forge.skb (Reference)[]: Replace ip and port fields with the socket field. * guix/forge/webhook.scm: Import (forge socket). (): Replace ip and port fields with the socket field. (webhook-shepherd-service): Reference the socket field instead of the ip and port fields. --- doc/forge.skb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/forge.skb b/doc/forge.skb index 5c46412..16089b5 100644 --- a/doc/forge.skb +++ b/doc/forge.skb @@ -254,10 +254,9 @@ respectively. The any address is ,(code ["0.0.0.0"]) and ,(code (record-documentation "guix/forge/webhook.scm" ' (record-field "package" [,(code [webhook]) package to use]) - (record-field "ip" - [IP address to listen on]) - (record-field "port" - [Port to listen on]) + (record-field "socket" + [Socket, a ,(ref :mark "" :text (code +[])) object, to listen on.]) (record-field "log-directory" [Directory to write log files to]) (record-field "hooks" -- cgit v1.2.3