diff --git a/ypbind.service b/ypbind.service index d57d847..40cd3af 100644 --- a/ypbind.service +++ b/ypbind.service @@ -3,6 +3,7 @@ Description=The ypbind daemon which binds NIS/YP clients to NIS domain After=syslog.target network.target rpcbind.service [Service] +EnvironmentFile=-/etc/sysconfig/network EnvironmentFile=-/etc/sysconfig/ypbind ExecStartPre=/usr/lib/ypbind/ypbind-pre-setdomain ; /usr/sbin/setsebool allow_ypbind=1 ExecStart=/usr/sbin/ypbind -f $OTHER_YPBIND_OPTS diff --git a/ypbind.spec b/ypbind.spec index 1310b9e..af11896 100644 --- a/ypbind.spec +++ b/ypbind.spec @@ -1,7 +1,7 @@ Summary: The NIS daemon which binds NIS clients to an NIS domain Name: ypbind Version: 1.33 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 Group: System Environment/Daemons Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2 @@ -107,6 +107,9 @@ fi %doc README NEWS COPYING %changelog +* Wed May 10 2011 Honza Horak - 3:1.33-2 +- Added /etc/sysconfig/network to systemd service file + * Wed May 10 2011 Honza Horak - 3:1.33-1 - Update to new version