Yes, defining those inside the script should be enough.

On Wed, Feb 27, 2013 at 5:33 AM, mwpowellhtx <[email protected]> wrote:

> Hello,
>
> I've installed under Ubuntu Linux and have the service running as
> "anonymous". I want it to run under a jenkins user, and set the home
> to something other than /var/lib/path/to/workspace, more like /home/
> jenkins/path/to/workspace.
>
> I've identified the /etc/init.d/jenkins script. Is it here where we
> set the JENKINS_USER, JENKINS_BASEDIR, and so on?
>
> https://wiki.jenkins-ci.org/display/JENKINS/JenkinsLinuxStartupScript
>
> I'm thinking probably so, but I wonder if anyone has done this before
> and can witness.
>
> Regards,
>
> Michael
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to