aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/portmap/portmap/portmap.service
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-09-14 14:48:52 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-16 22:12:30 +0100
commitcc44cb2888f1ddecdd01d7bc414f7ac3043d1372 (patch)
tree7c5de4ffa2a4a423e84570fe80d6bf884ef0d64b /meta/recipes-connectivity/portmap/portmap/portmap.service
parent93845fe60d89c0592a5c1ed631fc737c724cbc5b (diff)
downloadopenembedded-core-contrib-cc44cb2888f1ddecdd01d7bc414f7ac3043d1372.tar.gz
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/portmap.service')
-rw-r--r--meta/recipes-connectivity/portmap/portmap/portmap.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/portmap/portmap/portmap.service b/meta/recipes-connectivity/portmap/portmap/portmap.service
new file mode 100644
index 0000000000..7ef9d7b02e
--- /dev/null
+++ b/meta/recipes-connectivity/portmap/portmap/portmap.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=The RPC portmapper
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=@BASE_SBINDIR@/portmap
+
+[Install]
+WantedBy=multi-user.target