| Issue 1761: | gerrit-via-war should ignore HUP | |
| 2 people starred this issue and may be notified of changes. | Back to list |
Affected Version: 2.5.1
What steps will reproduce the problem?
From a remote box, use ssh without a terminal (e.g. via Capistrano) to start gerrit via 'gerrit.sh'.
To manually reproduce it, start gerrit and run:
kill -HUP $(cat logs/gerrit.pid)
What is the expected output? What do you see instead?
I expect gerrit to remain running. However, because closing the terminal causes a HUP to be sent, Gerrit shuts down immediately.
Please provide any additional information below.
Usually HUP is a non-destructive command, such as reload config or reopen log files. Having Gerrit shut down on HUP is really annoying.
This can worked around with 'nohup', but it shouldn't be needed.
Jan 17, 2013
#1
sop@google.com
Status:
AwaitingInformation
Jan 17, 2013
This was CentOS 6.latest It was run as a normal user (created just to run gerrit.sh) so it wouldn't have access to start-stop-daemon. I'm not familiar with disown. |
|
| ► Sign in to add a comment |