summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/rpcbind/rpcbind/rpcbind.service
Commit message (Collapse)AuthorAgeFilesLines
* rpcbind: make service socket activatedChen Qi2014-10-101-6/+3
| | | | | | | | | | 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>
* rpcbind: avoid entering failed status after stopping daemonChen Qi2014-09-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exiting with '2' is actually expected with rpcbind, because it catches SIGTERM and exits with '2' explicitly. The related code is as follows. (void) signal(SIGTERM, terminate); /* * Catch the signal and die */ static void terminate(int dummy /*__unused*/) { close(rpcbindlockfd); unlink(_PATH_RPCBINDSOCK); unlink(RPCBINDDLOCK); syslog(LOG_ERR, "rpcbind terminating on signal. Restart with \"rpcbind -w\""); write_warmstart(); /* Dump yourself */ exit(2); } (From OE-Core rev: 1bfc6a45e7ba81d3537ea3ae8b176f5a9c206eaa) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpcbind: Add systemd supportMuhammad Shakeel2013-09-101-0/+14
- 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>