Fixed systemd unit file
This commit is contained in:
parent
5ebb448d3c
commit
91368b1d3b
@ -6,11 +6,11 @@ After=syslog.target network.target rpcbind.service ypserv.service
|
||||
[Service]
|
||||
EnvironmentFile=-/etc/sysconfig/network
|
||||
EnvironmentFile=-/etc/sysconfig/ypbind
|
||||
ExecStartPre=-/usr/lib/ypbind/ypbind-pre-setdomain
|
||||
ExecStartPre=/usr/lib/ypbind/ypbind-pre-setdomain
|
||||
ExecStartPre=-/usr/sbin/setsebool allow_ypbind=1
|
||||
ExecStart=/usr/sbin/ypbind -n $OTHER_YPBIND_OPTS
|
||||
ExecStopPost=-/usr/sbin/setsebool allow_ypbind=0
|
||||
ExecStopPost=/usr/lib/ypbind/ypbind-post-waitbind
|
||||
ExecStartPost=-/usr/sbin/setsebool allow_ypbind=0
|
||||
ExecStartPost=/usr/lib/ypbind/ypbind-post-waitbind
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -1,7 +1,7 @@
|
||||
Summary: The NIS daemon which binds NIS clients to an NIS domain
|
||||
Name: ypbind
|
||||
Version: 1.33
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
License: GPLv2
|
||||
Group: System Environment/Daemons
|
||||
Source0: ftp://ftp.us.kernel.org/pub/linux/utils/net/NIS/ypbind-mt-%{version}.tar.bz2
|
||||
@ -117,6 +117,9 @@ fi
|
||||
%doc README NEWS COPYING
|
||||
|
||||
%changelog
|
||||
* Thu Sep 15 2011 Honza Horak <hhorak@redhat.com> - 3:1.33-6
|
||||
- Fixed systemd unit file
|
||||
|
||||
* Tue Aug 02 2011 Honza Horak <hhorak@redhat.com> - 3:1.33-5
|
||||
- Fixed rpmlint errors
|
||||
- Fixed systemd unit files packaging
|
||||
|
Loading…
Reference in New Issue
Block a user