$OpenBSD: patch-config_json_postgres_example,v 1.1.1.1 2021/08/27 16:29:34 abieber Exp $

Index: config.json.postgres.example
--- config.json.postgres.example.orig
+++ config.json.postgres.example
@@ -1,8 +1,8 @@
 {
     "server_url": "http://127.0.0.1:8080",
     "listen_addr": "0.0.0.0:8080",
-    "private_key_path": "private.key",
-    "derp_map_path": "derp.yaml",
+    "private_key_path": "${SYSCONFDIR}/headscale/private.key",
+    "derp_map_path": "${SYSCONFDIR}/headscale/derp.yaml",
     "ephemeral_node_inactivity_timeout": "30m",
     "db_type": "postgres",
     "db_host": "localhost",
@@ -12,7 +12,7 @@
     "db_pass": "bar",
     "tls_letsencrypt_hostname": "",
     "tls_letsencrypt_listen": ":http",
-    "tls_letsencrypt_cache_dir": ".cache",
+    "tls_letsencrypt_cache_dir": "${VARBASE}/headscale/.cache",
     "tls_letsencrypt_challenge_type": "HTTP-01",
     "tls_cert_path": "",
     "tls_key_path": "",
