2024-12-11 00:52:28 +01:00
|
|
|
DBDIR ?= /tmp/db-dnsmanagerd
|
|
|
|
TEMPLATE_DIR ?= ./templates
|
|
|
|
PASS ?= xxx
|
2024-12-02 17:14:54 +01:00
|
|
|
run-dnsmanagerd:
|
2024-12-11 00:52:28 +01:00
|
|
|
@# Usage example. For real deployments, use a configuration file.
|
|
|
|
$(Q)$(LOC)dnsmanagerd -n -v $(VERBOSITY) \
|
|
|
|
--storage-directory $(DBDIR) \
|
|
|
|
--recreate-indexes \
|
|
|
|
--service-name "dnsmanager" \
|
|
|
|
--accepted-domains "netlib.re,example.com" \
|
|
|
|
--template-directory $(TEMPLATE_DIR) \
|
|
|
|
--login $(LOGIN) \
|
|
|
|
--pass $(PASS)
|
2024-12-02 17:14:54 +01:00
|
|
|
|
|
|
|
PORT ?= 8082
|
|
|
|
ADDR ?=
|
|
|
|
run-token-handler: bin/token-handler
|
|
|
|
$(Q)$(LOC)token-handler $(PORT) $(ADDR)
|
|
|
|
|
|
|
|
wipe-db:
|
|
|
|
rm -r $(DBDIR)
|