Conditional frontend build + add user/group options.

This commit is contained in:
Dominik Pantůček 2025-04-04 10:28:54 +02:00
parent b895558ca8
commit 1b20816e7b
2 changed files with 5 additions and 2 deletions

View file

@ -62,7 +62,10 @@
(-certificate- cert))
(-k (key) "Private key"
(-key- key))
)
(-u (user) "User to run as (if started as root)"
(-user- user))
(-g (group) "Group to run as (if started as root)"
(-group- group)))
(define ssl? (and (-certificate-) (-key-) #t))
(define port (or (-port-) (if ssl? 443 80)))