Added /etc/sysconfig/network to systemd service file

This commit is contained in:
Honza Horák 2011-05-10 15:44:15 +02:00
parent 2de98e0a7c
commit 15f3cfd51c
2 changed files with 5 additions and 1 deletions

View File

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

View File

@ -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 <hhorak@redhat.com> - 3:1.33-2
- Added /etc/sysconfig/network to systemd service file
* Wed May 10 2011 Honza Horak <hhorak@redhat.com> - 3:1.33-1
- Update to new version