[Lunar-commits] <moonbase-other> Merge branch 'master' of github.com:/lunar-linux/moonbase-other
Dennis Veatch
stumbles at lunar-linux.org
Sat Oct 6 09:34:38 CEST 2012
commit 47ed75fd27ca452f06e14fed9717a11cc55a4635
Author: Dennis Veatch <stumbles at lunar-linux.org>
Date: Sat, 06 Oct 2012 00:34:38 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/47ed75fd27ca452f06e14fed9717a11cc55a4635
Merge branch 'master' of github.com:/lunar-linux/moonbase-other
---
net/portmap/BUILD | +1/-0
net/portmap/init.d/portmap | +1/-1
net/portmap/systemd.d/portmap.service | +9/-0
3 files changed
--- a/net/portmap/BUILD
+++ b/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 &&
--- a/net/portmap/init.d/portmap
+++ b/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
--- /dev/null
+++ b/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
More information about the Lunar-commits
mailing list