diff options
author | Christopher Baines <mail@cbaines.net> | 2021-12-20 11:34:48 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2021-12-20 11:34:48 +0000 |
commit | 049dfec287fa948cac6682d0a047bc0ed356f0bf (patch) | |
tree | 3cf548655ff3ba7a2d978884a04d36f36dcbef80 /scripts | |
parent | fdc8b32f40bf6a5248bd6ced2fc7c615f12a4301 (diff) | |
download | nar-herder-049dfec287fa948cac6682d0a047bc0ed356f0bf.tar nar-herder-049dfec287fa948cac6682d0a047bc0ed356f0bf.tar.gz |
Add support for creating a pid file
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/nar-herder.in | 5 |
1 files changed, 5 insertions, 0 deletions
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 |