Made EnvironmentFile in systemd definition optional
(rhbz#632620)
This commit is contained in:
parent
87d9f47855
commit
451e8a7d42
@ -3,7 +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/ypbind
|
||||
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
|
||||
ExecStopPost=/usr/sbin/setsebool allow_ypbind=0 ; /usr/lib/ypbind/ypbind-post-waitbind
|
||||
|
@ -1,7 +1,7 @@
|
||||
Summary: The NIS daemon which binds NIS clients to an NIS domain
|
||||
Name: ypbind
|
||||
Version: 1.32
|
||||
Release: 9%{?dist}
|
||||
Release: 10%{?dist}
|
||||
License: GPLv2
|
||||
Group: System Environment/Daemons
|
||||
Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2
|
||||
@ -108,6 +108,10 @@ fi
|
||||
%doc README NEWS COPYING
|
||||
|
||||
%changelog
|
||||
* Wed Apr 28 2011 Honza Horak <hhorak@redhat.com> - 3:1.32-10
|
||||
- Made EnvironmentFile in systemd definition optional
|
||||
(rhbz#632620)
|
||||
|
||||
* Wed Apr 14 2011 Honza Horak <hhorak@redhat.com> - 3:1.32-9
|
||||
- Add native systemd unit file.
|
||||
(rhbz#693873)
|
||||
|
Loading…
Reference in New Issue
Block a user