]> code.ossystems Code Review - openembedded-core.git/commit
distcc: fix initscript can not stop distcc daemon correctly
authorHongxu Jia <hongxu.jia@windriver.com>
Thu, 22 Jan 2015 09:09:14 +0000 (17:09 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Jan 2015 21:22:21 +0000 (21:22 +0000)
commit3b0d6c7c324f0283cfab10445d1a5a3bf2526598
tree05f3de5e9e1fc55a5b166865846ebe0237c8f286
parent7e9fd9d34a540fdfc1243d059d1f13f1d09864d2
distcc: fix initscript can not stop distcc daemon correctly

The distcc's initscript has used option '--pid-file' to save daemon
process id, but it didn't to create that file, that caused start/stop
distcc daemon failed.

We refer what Ubuntu 14.04 did, create pid file before start and
delete it after stop

[YOCTO #7090]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/distcc/files/distcc