Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

portmap: added systemd support and moved it to /usr #33

Merged
merged 1 commit into from

2 participants

@dagbrown
Collaborator

If we're supposed to be putting stuff into /usr, we should actually do so, I think.

@Ratler
Owner

Please delete this module and create a module for rpcbind. Portmap will be obsolete when glibc 2.16 is merged into moonbase.

@Ratler Ratler merged commit 6356ae3 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
1  net/portmap/BUILD
@@ -1,6 +1,7 @@
(
sedit "/#include <tcpd.h>/d" pmap_check.c &&
+ sedit 's;}/sbin;}/usr/sbin;g' Makefile &&
make NO_TCP_WRAPPER=1 &&
prepare_install &&
View
2  net/portmap/init.d/portmap
@@ -4,7 +4,7 @@
#
# chkconfig: 345 11 89
# description: the portmapper is the RPC port broker
-# processname: /sbin/portmap
+# processname: /usr/sbin/portmap
#
. /lib/lsb/init-functions
View
9 net/portmap/systemd.d/portmap.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=RPC Port Mapper
+After=network.target
+
+[Service]
+ExecStart=/usr/sbin/portmap -d
+
+[Install]
+WantedBy=multi-user.target
Something went wrong with that request. Please try again.