On Mar 29, 2007, at 1:19 PM, John R Pierce wrote:
Dave K wrote:
Okay, I had to go refresh my memory. The command "chkconfig swat on" edits /etc/xinetd.d/swat to change the "disable" option,...
whoa. Would someone care to explain how that works to me?? I thought chkconfig strictly worked off the service files in /etc/ rc.d/init.d and there's no file `swat`... The man page on chkconfig in centos4 only talks about the init.d services, no mention of xinetd ... the man page on system-config-services DOES mention xinetd but doesn't give any clue how it works. man system- config.services references /usr/share/serviceconf/* but I don't see any such directory.
chkconfig also knows how to activate/deactivate files in /etc/ xinetd.d. it does so by removing (or adding) the "disable = yes" line from the service stanza and then HUPing xinetd.
-steve
-- If this were played upon a stage now, I could condemn it as an improbable fiction. - Fabian, Twelfth Night, III,v