[Fedora-packaging] initscripts in spec file scriptlets

Bill Nottingham notting at redhat.com
Fri Jun 12 02:59:56 UTC 2009


Chuck Anderson (cra at WPI.EDU) said: 
> If you 
> re-do the chkconfig --add on upgrades, won't that overwrite the 
> runlevel on/off settings that the sysadmin may have customized?

No.

>From the man page:
    
  This option adds a new service for management by  chkconfig. When  a
  new  service is added, chkconfig ensures that the service has either a
  start or a kill entry in every runlevel. If any  runlevel  is missing
  such an entry, chkconfig creates the appropriate entry as specified by
  the default values in the init script.

i.e., it only replaces missing links.

Bill




More information about the Fedora-packaging mailing list