From 9b6b1520f273d46b3f8d229ee1be28a68e93bc15 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 10 Oct 2017 15:17:41 +0200 Subject: start systemd service with dynamic user This requires systemd v235 and dhcpd built with '--enable-paranoia'. --- config.def.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.def.h') 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" \ -- cgit v1.2.3-54-g00ecf