forked from rpms/rpcbind
Make sure rpcbind.socket always gets enabled (bz 1214496)
Signed-off-by: Steve Dickson <steved@redhat.com>
This commit is contained in:
parent
ce0dd7efdf
commit
f5261c7ec6
11
rpcbind.spec
11
rpcbind.spec
@ -1,6 +1,6 @@
|
||||
Name: rpcbind
|
||||
Version: 0.2.3
|
||||
Release: 0.0%{?dist}
|
||||
Release: 0.1%{?dist}
|
||||
Summary: Universal Addresses to RPC Program Number Mapper
|
||||
Group: System Environment/Daemons
|
||||
License: BSD
|
||||
@ -89,11 +89,7 @@ if [ -z "$rpcid" -o "$rpcid" != "32" ]; then
|
||||
fi
|
||||
|
||||
%post
|
||||
if [ $1 -eq 1 ] ; then
|
||||
# Initial installation
|
||||
/bin/systemctl enable rpcbind.socket
|
||||
fi
|
||||
%systemd_post rpcbind.service rpcbind.socket
|
||||
/bin/systemctl enable rpcbind.socket >/dev/null 2>&1 || :
|
||||
|
||||
%preun
|
||||
%systemd_preun rpcbind.service rpcbind.socket
|
||||
@ -125,6 +121,9 @@ fi
|
||||
%{_unitdir}/rpcbind.socket
|
||||
|
||||
%changelog
|
||||
* Wed Jun 10 2015 Steve Dickson <steved@redhat.com> - 0.2.3-0.0
|
||||
- Make sure rpcbind.socket always gets enabled (bz 1214496)
|
||||
|
||||
* Tue Apr 28 2015 Steve Dickson <steved@redhat.com> - 0.2.3-0.0
|
||||
- Updated to latest upstream release: 0.2.3
|
||||
- Change RPCBDIR to be /tmp since that will exist after a
|
||||
|
Loading…
Reference in New Issue
Block a user