More redhatcompliance init file, more easier to use profile file #2030

merged 1 commit into from Sep 2, 2016


None yet

2 participants


Default init script for redhat can be improved:

It looks for configuration in /etc/rundeck/profile. But service configurations should be in /etc/sysconfig/$service instead in redhat.

The profile script was not optimum. It needed a lot of editing. Many useless export where used. This new one add a lot of variable that can be used in a sysconfig configuration. It also remove the system property rdeck.base because it's overridden in com.dtolabs.rundeck.RunServer:

    if (null != basedir) {
        System.setProperty("rdeck.base", basedir.getAbsolutePath());


    if (args.length > 0) {
        basedir = new File(args[0]);
    } else {
        throw new RuntimeException("Basedir argument required");

So the -Drdeck.base=/var/lib/rundeck as no effect.

@gschueler gschueler added this to the 2.6.10 milestone Sep 2, 2016
@gschueler gschueler merged commit 70c7878 into rundeck:master Sep 2, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
@fbacchella fbacchella deleted the fbacchella:RedhatCompliance branch Sep 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment