Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 have play framework server and Im doing Automation using Hudson,

When I start the play server using su deploy -c "play start" it's fine the logs are getting updated and server is started.

The same command I'm using in shell script which is in Hudson, the command is executed but Play server is not getting started

'deploy' is one of the user to start and stop the Play server.

Can you anyone please help me

Note: As I don't have permission add new tags I couldn't add the tag 'playframework'


share|improve this question

You might want to use the - option to su, as in su - deploy -c "play start". The - makes the su use the environment of the new user, instead of the previous user. It is likely that paths and other options are not set up right when you don't run using the environment of the deploy user.

share|improve this answer

Try specifying complete path for your 'play' binary in shell script if its not present in PATH variable, that might be the problem.

share|improve this answer

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.