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

pidfile messed up #151

Open
shakeyourbunny opened this issue Aug 31, 2013 · 1 comment
Open

pidfile messed up #151

shakeyourbunny opened this issue Aug 31, 2013 · 1 comment

Comments

@shakeyourbunny
Copy link

The pidfile with the screen is being messed up with zombie screens, if the bukkit server is not instantanous "ready" and fails subsequently to start the whole thing up.

Solution:

is_running() { 
...
if [ -r "$pidfile" ]
then
     screen -wipe >/dev/null     # add this line

This will clean up the messed pidfile.

@Nogbit
Copy link

Nogbit commented Sep 4, 2013

That didnt work for me, i get
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.
Rogue pidfile found!

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