diff --git a/dhcp.changes b/dhcp.changes index 4e079d5..6314875 100644 --- a/dhcp.changes +++ b/dhcp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 21 08:34:07 UTC 2014 - jsegitz@novell.com + +- added necessary macros for systemd files + ------------------------------------------------------------------- Thu Apr 24 08:24:38 UTC 2014 - dmueller@suse.com diff --git a/dhcp.spec b/dhcp.spec index b4c2e08..71180ed 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -474,6 +474,10 @@ popd %pre server /usr/sbin/useradd -r -g nogroup -s /bin/false -c "DHCP server daemon" -d /var/lib/dhcp dhcpd 2> /dev/null ||: +%if %{with systemd} +%service_add_pre dhcpd.service +%service_add_pre dhcpd6.service +%endif %post server %if %{with systemd}