Super User is a question and answer site for computer enthusiasts and power users. 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 a situation where I want to use a script during a build process which stops a process and starts it again after updating its files as a last step. The process is started via a build system which uses an own user account on the machine.

The script works fine when starting it manually but when the build system starts it, it will shut down after a few seconds.

Has anybody any idea why the process is shutting down?

P.S.: I am using nohup and & when starting the process. P.P.S: I tried to redirect the in- and output, but this didn't help...

share|improve this question
STOP you mean pause ? or terminate ? – zb' Nov 9 '12 at 16:09
Does the build system's user have the permissions required for the resources used by the script? Have you considered adding logging to your script so you can see what's going on? – Ƭᴇcʜιᴇ007 Nov 9 '12 at 16:22
It is terminated with "kill xy". The script has all the permissions needed, but I think I wasn't very clear in my problem description: The script itself is running succesfully. It starts another process which works, but after a few seconds this second process (not the script) is terminated... – Asterix der Gallier Nov 12 '12 at 17:07

You must log in to answer this question.

Browse other questions tagged .