DBDIR        ?= /tmp/db-dnsmanagerd
TEMPLATE_DIR ?= ./templates
PASS         ?= xxx
run-dnsmanagerd:
	@# 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)

PORT ?= 8082
ADDR ?=
run-token-handler: bin/token-handler
	$(Q)$(LOC)token-handler $(PORT) $(ADDR)

wipe-db:
	rm -r $(DBDIR)