From 049dfec287fa948cac6682d0a047bc0ed356f0bf Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Mon, 20 Dec 2021 11:34:48 +0000 Subject: Add support for creating a pid file --- scripts/nar-herder.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts') diff --git a/scripts/nar-herder.in b/scripts/nar-herder.in index a6c1a57..bbfaeea 100644 --- a/scripts/nar-herder.in +++ b/scripts/nar-herder.in @@ -87,6 +87,11 @@ (alist-cons 'host arg (alist-delete 'host result)))) + (option '("pid-file") #t #f + (lambda (opt name arg result) + (alist-cons 'pid-file + arg + (alist-delete 'pid-file result)))) (option '("storage") #t #f (lambda (opt name arg result) (alist-cons 'storage -- cgit v1.2.3