diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-10-09 13:35:07 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-10-10 16:44:32 +0100 |
commit | 90f370940b933a3eb8516ba8a11cb7011e60a68f (patch) | |
tree | 90eaa288bdf78ec60e4a898e170da6f0e92840e1 /meta/recipes-extended/rpcbind/rpcbind/rpcbind.socket | |
parent | d3a56585195f07363d7bbc59292ba24cc532b286 (diff) | |
download | poky-90f370940b933a3eb8516ba8a11cb7011e60a68f.tar.gz |
rpcbind: make service socket activated
Instead of setting 'Restart=always' in the service file, we should
make the service socket activated, just like what Fedora does.
(From OE-Core rev: 176e91ef28800adb6295b29c455b2efb91a01876)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/rpcbind/rpcbind/rpcbind.socket')
-rw-r--r-- | meta/recipes-extended/rpcbind/rpcbind/rpcbind.socket | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-extended/rpcbind/rpcbind/rpcbind.socket b/meta/recipes-extended/rpcbind/rpcbind/rpcbind.socket new file mode 100644 index 0000000000..d63c1d9720 --- /dev/null +++ b/meta/recipes-extended/rpcbind/rpcbind/rpcbind.socket | |||
@@ -0,0 +1,8 @@ | |||
1 | [Unit] | ||
2 | Description=RPCbind Server Activation Socket | ||
3 | |||
4 | [Socket] | ||
5 | ListenStream=/var/run/rpcbind.sock | ||
6 | |||
7 | [Install] | ||
8 | WantedBy=sockets.target | ||