In article <[EMAIL PROTECTED]>, Unruh <[EMAIL PROTECTED]> wrote:
> Joseph Gwinn <[EMAIL PROTECTED]> writes: > > >In article <[EMAIL PROTECTED]>, > > Steve Kostecke <[EMAIL PROTECTED]> wrote: > > >> On 2008-09-03, Joseph Gwinn <[EMAIL PROTECTED]> wrote: > >> > >> > Read the "service" shell script. It appears to get its file paths from > >> > environment variables named after the thing being started and stopped > >> > and accessible only in the root environment; this bit of RHEL-specific > >> > structure is being chased down. (Does anyone know where this is > >> > documented?) > >> > >> On Linux OSes init scripts are typically found in /etc/init.d/ or > >> /etc/rc.d/init.d/ Look for one named ntp (or something containing ntp). > > >Yes, and that's where strace led me, where I found a script called ntpd. > >How the service script interacts with this ntpd script isn't clear. > >Environment variables seem to be implicated, but a listing of > >environment variables is not helpful. Next week I'll digest it all. > > service simply runs the program listed as its argument from the /etc/init.d > directory. > > Ie, service ntpd start is the same as > /etc/init.d/ntpd start True, but there seems to be more to it than that. Next week. Joe Gwinn _______________________________________________ questions mailing list [email protected] https://lists.ntp.org/mailman/listinfo/questions
