summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-05-06 15:26:41 +0200
committerGravatar Christian Hesse <mail@eworm.de>2014-05-06 15:26:41 +0200
commit70f1aa530fd7953c66248a4002d5ba42f5f5e6e9 (patch)
treeb40c9d3d500b75bcf743438037abc5f92ee63e38 /config.def.h
parent1bcb85a645e15a1e9e2809e5af7d71f20c4ea2d6 (diff)
downloaddyndhcpd-70f1aa530fd7953c66248a4002d5ba42f5f5e6e9.tar.gz
dyndhcpd-70f1aa530fd7953c66248a4002d5ba42f5f5e6e9.tar.zst
start dhcpd with different pid and leases file
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 22216e6..8f6e7ec 100644
--- a/config.def.h
+++ b/config.def.h
@@ -13,7 +13,11 @@
/* pathes for config file, first is read, second is written */
#define CONFIG_TEMPLATE "/etc/dyndhcpd/dhcpd.conf"
-#define CONFIG_OUTPUT "/tmp/dhcpd_%s.conf"
+#define CONFIG_OUTPUT "/run/dhcpd-%s.conf"
+
+/* pathes for pid and leases file, these are passed to dhcpd */
+#define PIDFILE "/run/dhcpd-%s.pid"
+#define LEASESFILE "/var/lib/dhcp/dhcp-%s.leases"
#endif /* _CONFIG_H */