aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service
diff options
context:
space:
mode:
authorMuhammad Shakeel <muhammad_shakeel@mentor.com>2013-09-04 11:05:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-10 23:13:49 +0100
commit3ecb5e21b3b4f05f2d527264c3574fdc37984a77 (patch)
treef4042ea41dee52fbc8e51a28b17cc77e2d7ffb87 /meta/recipes-extended/rpcbind/rpcbind/rpcbind.service
parent36e3d63abaeafc5d2e671bad45b599c159ed10ab (diff)
downloadopenembedded-core-contrib-3ecb5e21b3b4f05f2d527264c3574fdc37984a77.tar.gz
rpcbind: Add systemd support
- Remove dependency on meta-systemd Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/rpcbind/rpcbind/rpcbind.service')
-rw-r--r--meta/recipes-extended/rpcbind/rpcbind/rpcbind.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service b/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service
new file mode 100644
index 0000000000..4de28d4ae1
--- /dev/null
+++ b/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=RPC Bind
+After=network.target
+Wants=rpcbind.target
+Before=rpcbind.target
+
+[Service]
+Type=forking
+EnvironmentFile=-@SYSCONFDIR@/rpcbind.conf
+ExecStart=@SBINDIR@/rpcbind -w $RPCBIND_OPTS
+Restart=always
+
+[Install]
+WantedBy=multi-user.target