fixed rpcbind.socket (added ListenStream=111 and ListenDatagram=111) [release 0.2.1-2mamba;Tue Jun 10 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 17:28:41 +01:00
parent c3d27c7515
commit 40a95da14c
2 changed files with 9 additions and 4 deletions

View File

@ -1,8 +1,12 @@
[Unit]
Description=RPCbind Server Activation Socket
Wants=rpcbind.target
Before=rpcbind.target
[Socket]
ListenStream=/run/rpcbind.sock
ListenStream=111
ListenDatagram=111
[Install]
WantedBy=sockets.target

View File

@ -2,7 +2,7 @@
%define userid 59
Name: rpcbind
Version: 0.2.1
Release: 1mamba
Release: 2mamba
Summary: A replacement for portmap required for import or export of NFS shared directories
Group: System/Servers
Vendor: openmamba
@ -20,6 +20,7 @@ License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libtirpc-devel
BuildRequires: libwrap-devel
## AUTOBUILDREQ-END
Provides: portmap
Obsoletes: portmap
@ -75,9 +76,6 @@ fi
if [ $1 -ge 1 ]; then
systemctl -q daemon-reload
fi
if [ $1 -eq 1 ]; then
/bin/systemctl -q enable rpcbind >/dev/null 2>&1 || :
fi
:
%postun
@ -101,5 +99,8 @@ fi
%doc AUTHORS COPYING
%changelog
* Tue Jun 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.1-2mamba
- fixed rpcbind.socket (added ListenStream=111 and ListenDatagram=111)
* Sat May 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.1-1mamba
- package created using the webbuild interface