Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

portmap: Moved to /usr, added systemd.d for systemd support

  • Loading branch information...
commit 088041784fa7fc7693b5df6272f7304195cca496 1 parent dff9da0
@dagbrown authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.