SHA256
1
0
forked from pool/dhcp

Accepting request 234944 from home:jsegitz:branches:network:dhcp

- added necessary macros for systemd files

OBS-URL: https://build.opensuse.org/request/show/234944
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=129
This commit is contained in:
Tomáš Chvátal
2014-05-28 08:49:05 +00:00
committed by Git OBS Bridge
parent 74846729b8
commit d06e2d112b
2 changed files with 9 additions and 0 deletions

View File

@@ -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

View File

@@ -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}