diff options
author | Muhammad Shakeel <muhammad_shakeel@mentor.com> | 2013-09-04 11:05:01 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-10 23:15:15 +0100 |
commit | 06ecd689aeff3879df31b0ae73aab732292d1b08 (patch) | |
tree | 4ef530db360839d5a0413dfecd8807371d95b1b9 /meta/recipes-extended/rpcbind/rpcbind | |
parent | 1661f5c90afd6a7aeecc6ad450a7104fe2dd5f00 (diff) | |
download | ast2050-yocto-poky-06ecd689aeff3879df31b0ae73aab732292d1b08.zip ast2050-yocto-poky-06ecd689aeff3879df31b0ae73aab732292d1b08.tar.gz |
rpcbind: Add systemd support
- Remove dependency on meta-systemd
(From OE-Core rev: 3ecb5e21b3b4f05f2d527264c3574fdc37984a77)
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')
-rw-r--r-- | meta/recipes-extended/rpcbind/rpcbind/rpcbind.conf | 3 | ||||
-rw-r--r-- | meta/recipes-extended/rpcbind/rpcbind/rpcbind.service | 14 |
2 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-extended/rpcbind/rpcbind/rpcbind.conf b/meta/recipes-extended/rpcbind/rpcbind/rpcbind.conf new file mode 100644 index 0000000..2a4dfbc --- /dev/null +++ b/meta/recipes-extended/rpcbind/rpcbind/rpcbind.conf @@ -0,0 +1,3 @@ +# Optional arguments passed to rpcbind. +# +RPCBIND_OPTS="" diff --git a/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service b/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service new file mode 100644 index 0000000..4de28d4 --- /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 |