gradle-ospackage-plugin
gradle-ospackage-plugin copied to clipboard
AutoStart does not obey rpm runlevels when running chkconfig installCmd
When installing an RPM on RedHat (chkconfig), the runlevels that are set in the rpm daemon configuration are not obeyed. The command that is run is chkconfig ${daemonName} on, which sets the service to run on run-levels 2-5, instead of obeying the configuration set as in the other installcmd (update-rc.d).
pull request #256 uses chkconfig --add to leverage run-levels set from daemon config or default values to ensure auto-run on redhat obeys rpm configuration