-
Notifications
You must be signed in to change notification settings - Fork 124
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
CentOS7 #170
Comments
No wonder, CentOS 7 switched to "the future of init systems" and is not compatible with "old useless System V Init" due to a whole incompatible way of booting the distribution :) |
I actually made work around that I will submit/post when I get home. A couple links have to be changed, but other than that it works just fine. ---- On Tue, 14 Oct 2014 03:21:15 -0700 shakeyourbunny <[email protected]> wrote ---- No wonder, CentOS 7 switched to "the future of init systems" and is not compatible with "old useless System V Init". |
So, changes I had to make to get it to run on CentOS7. In minecraft I changed each occurence of /etc/init.d to $SRVPATH In config, I added the following lines Path to Service Location --typically "/etc/init.d"SRVPATH="/srv/mcsrv" I created the file minecraft.service in /etc/systemd/system. The file contains:
and executed of course It seems to be working well. I may make some more edits and clean things up later. |
Did these changes get accepted? I would love to have this work with systemd I feel like it adds the final missing piece for the uptime puzzle. May I suggest inclusion of the "restart=" directive? |
I didn't. Before I really got into it, I started my Ph.D. program, and I haven't played but a few hours of any game, let alone manage my server since. Feel free to clean it up, give it some polish, and submit it yourself if you like. I like the idea of including the "restart=" directive. |
Doesn't work well in CentOS7. Generates PID file but wont launch server on boot. Works fine when started manually (service minecraft start).
The text was updated successfully, but these errors were encountered: