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...