Skip to content
forked from lrdfrd/McMa

init.d script for ubuntu 14.04 64bit to autorun mcmyadmin

Notifications You must be signed in to change notification settings

yo1frenchtoast/McMa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This code is free to use/modify/distribute.
I do not provide warranty for this code. it is open and free. period.
please donate at https://pledgie.com/campaigns/28676

thanks.

Notice:
This was created for and tested on Ubuntu 14.04 server 64bit with screen.
Although it should work on most if not all newer Linux 64bit debain based distros with screen.
If you don’t know what screen is… you probably shouldn’t be reading this. :)
But if you don’t, just make sure you have it installed.
Or install it with:

sudo apt-get install screen
 
Or my favorite, Byobu which includes screen and is much better (in my opinion):
 
sudo apt-get install byobu

Also, have McMyAdmin working before using this, this is for autorun and control of McMyAdmin from the command line and/or ssh.
 
 
How To Install (ubuntu 14.04)


Use your favorite editor (I prefer nano) to create file called "mcma" in /etc/init.d/

cd /etc/init.d
sudo nano mcma

and paste the code in that file.

Edit the USERNAME=minecraft variable according to your setup.
(Replace "minecraft" with your username.)

Make sure the newly created file has the required permissions.

sudo chmod a+x /etc/init.d/mcma

then install the script with:

sudo update-rc.d mcma defaults 99 01
 
if you need to remove the script use:

sudo update-rc.d -f mcma remove



PS: this assumes a default install of mcmyadmin using their directions. If you made any changes then this may not work. 
But if you did make changes, then you should know how to make this work anyway.... right?  :)
Enjoy.

About

init.d script for ubuntu 14.04 64bit to autorun mcmyadmin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%