gradle-ospackage-plugin icon indicating copy to clipboard operation
gradle-ospackage-plugin copied to clipboard

AutoStart does not obey rpm runlevels when running chkconfig installCmd

Open shanesiebken opened this issue 8 years ago • 1 comments

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).

shanesiebken avatar Aug 31 '17 19:08 shanesiebken

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

shanesiebken avatar Aug 31 '17 19:08 shanesiebken