Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 088041784fa7fc7693b5df6272f7304195cca496 1 parent dff9da0
Dave Brown authored October 06, 2012
1  net/portmap/BUILD
... ...
@@ -1,6 +1,7 @@
1 1
 (
2 2
 
3 3
   sedit "/#include <tcpd.h>/d" pmap_check.c &&
  4
+  sedit 's;}/sbin;}/usr/sbin;g' Makefile &&
4 5
 
5 6
   make NO_TCP_WRAPPER=1    &&
6 7
   prepare_install          &&
2  net/portmap/init.d/portmap
@@ -4,7 +4,7 @@
4 4
 #
5 5
 # chkconfig: 345 11 89
6 6
 # description: the portmapper is the RPC port broker
7  
-# processname: /sbin/portmap
  7
+# processname: /usr/sbin/portmap
8 8
 #
9 9
 
10 10
 . /lib/lsb/init-functions
9  net/portmap/systemd.d/portmap.service
... ...
@@ -0,0 +1,9 @@
  1
+[Unit]
  2
+Description=RPC Port Mapper
  3
+After=network.target
  4
+
  5
+[Service]
  6
+ExecStart=/usr/sbin/portmap -d
  7
+
  8
+[Install]
  9
+WantedBy=multi-user.target

0 notes on commit 0880417

Please sign in to comment.
Something went wrong with that request. Please try again.