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

Wrapper to manage server on Linux #9

Closed
freezurbern opened this issue Mar 9, 2015 · 4 comments
Closed

Wrapper to manage server on Linux #9

freezurbern opened this issue Mar 9, 2015 · 4 comments

Comments

@freezurbern
Copy link
Member

It'd be great to have a script (sh perhaps?) in the repo to allow for something like this:
re-manage {start|stop|restart|status} as well as to make sure the server stays online (might have to deal with a pid file?), with logging too.

@ZeroKnight
Copy link
Member

I actually wrote a sh script that works exactly like that in the past while hosting the now defunct Wazu servers. I may have it floating around somewhere, so if I find it I'll refactor it as needed and throw it up here.

@qreeves
Copy link
Member

qreeves commented Mar 9, 2015

I'm planning to put this in the main repo at some point, with proper PID tracking (for multiple servers on one machine).

@ZeroKnight
Copy link
Member

Should not be used as-is, I have yet to refactor it https://gist.github.com/ZeroKnight/374d7e5f2c08d9b9c247

@TheAssassin
Copy link
Contributor

This sounds like a hackish solution. I would rather add a proper systemd/upstart/sysvinit configuration (nowadays, systemd is probably enough though).
I have a working and well-tested systemd configuration in use at the moment, I will add this to this repository with a few words on how to use it.

Another solution is using Docker: https://github.com/TheAssassin/redeclipse-docker

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

No branches or pull requests

4 participants