Summary: | Update init scripts / process(es) to include at least some LSB functionality | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Guy <gcadieux> |
Component: | [OLD] Unspecified | Assignee: | Martin Schlemmer (RETIRED) <azarah> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | vapier |
Priority: | High | ||
Version: | 1.4_rc2 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | init script for mynetwatchman perl agent |
Description
Guy
2003-01-13 22:23:42 UTC
Created attachment 7284 [details]
init script for mynetwatchman perl agent
Just use /bin/pidof that comes with baselayout ? I'll be happy to try that. :-) Your opinion: is it better to make a link to pidof or to patch the script? I'm thinking of trying to make an ebuild for this package if I can get it to work. I guess I've got to start learning how to make ebuilds (however bad they end up being) at some point. with init scripts we dont install ones that come with a package into /etc/init.d/ Gentoo has its own style of doing init and as such, a custom script should be made You could do: ------------------------------------ pidofproc() { [ -z $1 ] && return 0 /bin/pidof $1 } ------------------------------------ Anyhow, like Spanky said, you should preferably create your own script. |