Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-2265

better way to change RUN_AS_USER

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0.0.AM25
    • None
    • installer-plugin
    • None
    • Patch

    Description

      If you want to actually use the standard ports like 389, the typical reaction would be to change the value of RUN_AS_USER, or remove the value.
      Trouble is, seems like the currently expected way to do that, is to edit the script

      (as implied by the comments)
      But.. the apacheds/bin/apacheds script is packages. So changes will get blown away on update.

       

      The wrapper thingie checks for instance-specific values in $INSTANCE_DIRECTORY/conf/wrapper.conf

       

      Would be nice if apacheds script did something similar.

       

       

      Heck, here's a potential diff patch.

       

       
      67a

      1. Allow for overrides of values above, per instance
        test -f $INSTANCE_DIRECTORY/conf/apacheds.vars && source $INSTANCE_DIRECTORY/conf/apacheds.vars

      .

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            theferret Philip Brown
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: