aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-10-10 15:17:41 +0200
committerGravatar Christian Hesse <mail@eworm.de>2017-10-10 15:17:41 +0200
commit9b6b1520f273d46b3f8d229ee1be28a68e93bc15 (patch)
tree526e93ad5c89046f4624f3b943828d85ffefe8e4 /config.def.h
parent93e4d8ba275fe28225cabfed8435f08b03a61fd8 (diff)
downloaddyndhcpd-9b6b1520f273d46b3f8d229ee1be28a68e93bc15.tar.gz
dyndhcpd-9b6b1520f273d46b3f8d229ee1be28a68e93bc15.tar.zst
start systemd service with dynamic usersystemd-v235
This requires systemd v235 and dhcpd built with '--enable-paranoia'.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index a21c4f8..f277236 100644
--- a/config.def.h
+++ b/config.def.h
@@ -22,6 +22,9 @@
#define PIDFILE "/run/dhcpd-%s.pid"
#define LEASESFILE "/var/lib/dhcp/dhcp-%s.leases"
+/* default user */
+#define USER "dhcp"
+
#define FALLBACKCONFIG \
"# fallback dhcpd.conf for interface __INTERFACE__\n" \
"# generated by dyndhcpd/__VERSION__\n" \