diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-09-14 14:48:52 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-16 22:12:30 +0100 |
commit | cc44cb2888f1ddecdd01d7bc414f7ac3043d1372 (patch) | |
tree | 7c5de4ffa2a4a423e84570fe80d6bf884ef0d64b /meta/recipes-connectivity/portmap/portmap.inc | |
parent | 93845fe60d89c0592a5c1ed631fc737c724cbc5b (diff) | |
download | openembedded-core-cc44cb2888f1ddecdd01d7bc414f7ac3043d1372.tar.gz openembedded-core-cc44cb2888f1ddecdd01d7bc414f7ac3043d1372.tar.bz2 openembedded-core-cc44cb2888f1ddecdd01d7bc414f7ac3043d1372.zip |
portmap: add systemd service file
Add systemd service file for systemd support.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-connectivity/portmap/portmap.inc')
-rw-r--r-- | meta/recipes-connectivity/portmap/portmap.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/portmap/portmap.inc b/meta/recipes-connectivity/portmap/portmap.inc index 9b42859212..f5f7fde8be 100644 --- a/meta/recipes-connectivity/portmap/portmap.inc +++ b/meta/recipes-connectivity/portmap/portmap.inc @@ -10,12 +10,15 @@ SRC_URI = "${DEBIAN_MIRROR}/main/p/portmap/portmap_5.orig.tar.gz \ ${DEBIAN_MIRROR}/main/p/portmap/portmap_${PV}.diff.gz \ file://portmap.init \ file://make.patch;apply=yes" + S = "${WORKDIR}/portmap_5beta" INITSCRIPT_NAME = "portmap" INITSCRIPT_PARAMS = "start 10 2 3 4 5 . stop 32 0 1 6 ." -inherit update-rc.d +inherit update-rc.d systemd + +SYSTEMD_SERVICE_${PN} = "portmap.service" sbindir = "/sbin" |