Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run.pid has wrong PID after auto-update #100

Open
TRM13 opened this issue Oct 11, 2022 · 1 comment
Open

run.pid has wrong PID after auto-update #100

TRM13 opened this issue Oct 11, 2022 · 1 comment

Comments

@TRM13
Copy link

TRM13 commented Oct 11, 2022

After an auto-update the run.pid file has the old PID in it.

Before auto update:
qortal$ cat run.pid
936

After auto update:
qortal$ ps -ef | grep java
qortal 15685 1 38 Oct10 ? 07:53:50 /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Djava.net.preferIPv4Stack=false -jar qortal.jar

qortal$ cat run.pid
936

@crowetic
Copy link
Member

This is because the PID changes and the PID in the run.pid file is created by start.sh... when re-started after auto-update start.sh is not utilized, therefore run.pid isn't updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants