Project

General

Profile

Actions

Bug #705

closed

VKERNEL Pidfile patch

Added by c.turner about 18 years ago. Updated almost 18 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Okay.. So heres a quick patch to have the vkernel write out a pidfile.

(WFM-TM)

3 possible 'messies':

- doing this 'inline' within the getopt processing. Felt this
was simpleenough a task that that wasn't a big deal, but I
can see how some might not like it that way.
- If the pidfile isn't writable, it's considered a warning and not
an error. Was using inetd as my inspiration, and kept
things consistent - but perhaps this shouldn't be the case?
- the vkernel.7 patch was manually edited to remove the signal edits
from earlier.. hopefully it still applies cleanly to HEAD. Only a
sentance or two there probably not too much to fix if so.

Comments / Concerns / etc. welcome - didn't edit Nuno's rc script as he
said he'd take care of that and I'm using another mechanism to handle
VKERNEL systems at the moment.

Thanks,

- Chris

Files

vkpid.patch (1.07 KB) vkpid.patch c.turner, 06/17/2007 04:28 AM
vkpid.patch (1.21 KB) vkpid.patch c.turner, 06/17/2007 02:21 PM
vkpid.patch (2.43 KB) vkpid.patch c.turner, 06/17/2007 04:19 PM
vkpid.patch (3 KB) vkpid.patch c.turner, 06/18/2007 12:53 AM
vkpid.patch (2.97 KB) vkpid.patch c.turner, 06/19/2007 12:55 AM
Actions

Also available in: Atom PDF