> Logger from rc.local seems to be working put I'll look into an init script. > Never written one of those. Time to get out the books.
It's pretty easy. Copy one of the existing ones (nfsd is a good one to start with -- it has dependencies already, so you can see how they work). For what you want to do, you just need to implement the "start" method, and mark it as dependent on syslog and network. You can just stub out all the other methods (stop, status, etc). Rc.local works, but having each one of these kinds of things separate makes system management a lot easier. The really nice part about making things like this separate scripts is that you can individually add or remove them w/o editing rc.local manually. You can also version-control them, and mass distribute them with yum rather than having to worry about stuff being outdated or how to edit a file. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
