Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I asked this question at Atlassian but figured serverfault might be more appropriate as it's more of a sysadmin question than an Atlassian question:

I have been attempting to follow this guide to have FishEye+Crucible start at boot. JIRA is already installed and running as it's own user (jira) on Ubuntu at boot, but I cannot get Fisheye+Crucible (aka fecru) to do the same.

I followed the instructions there (and Ubuntu related note in the comments of the page) and rebooted, JIRA started on it's own as usual but fecru did not. Does it have something to do with the RUN_AS variable, which I set to 'jira'? Will that command run at boot without prompting for a password for the user 'jira'? I figured it would not prompt because the program JIRA starts at boot fine as that user...


Ubuntu 10.04 Lucid

Jira 5.0

Crucible+Fisheye 2.7.11

share|improve this question

Relevant bits of init script I use:

case "$1" in
        sudo -u fisheye /path/to/fisheye/

        sudo -u fisheye /path/to/fisheye/
        echo "Usage: $0 start|stop" >&2
        exit 3

Contents of

source /home/fisheye/.profile

source /home/fisheye/.profile

Relevant contents of .profile:

export JAVA_HOME=/path/to/java/
export FISHEYE_OPTS="-Xms512m -Xmx4800m -XX:MaxPermSize=512m"
export FISHEYE_HOME=/home/fisheye/fecru-x.x.x
export FISHEYE_INST=/home/fisheye/inst-example

Of course I could have added the source .profile statement in the fisheye provided start and stop scripts, but that would mean having to edit it again after an upgrade. I tried to keep the fisheye files unchanged as much as possible.

share|improve this answer
Anything in the logs (fisheye.out)? – sendmoreinfo Jul 18 '12 at 20:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.