[BACK]Return to README.md CVS log [TXT][DIR] Up to [local] / mtctl

Annotation of mtctl/README.md, Revision 1.1.1.2

1.1       bountyht    1: mtctl: A minetest server control command
                      2:
                      3: Based on: systemctl (linux) and rcctl (openbsd)
                      4:
1.1.1.2 ! bountyht    5:
        !             6: # Usage:
        !             7:
        !             8: The mtctl is using the following pattern:
1.1       bountyht    9:
                     10: `$ mtctl <action> [worldname]`
                     11:
1.1.1.2 ! bountyht   12: * action: start|stop|restart|status|list|help
        !            13: * worldname: worldname to control
        !            14:
        !            15:
        !            16: # Install:
1.1       bountyht   17:
1.1.1.2 ! bountyht   18: This script is easy to install, thanks to a one-line-installer.
1.1       bountyht   19:
1.1.1.2 ! bountyht   20: This installer will detect your OS and based on that info it will select which shell you have (and some other things)
1.1       bountyht   21:
                     22:
1.1.1.2 ! bountyht   23: The command itself is the following:
1.1       bountyht   24:
1.1.1.2 ! bountyht   25: `$ curl 'https://cvsweb.planetofnix.com/cgi-bin/cvsweb/~checkout~/mtctl/installer.sh?content-type=text/plain' 2> /dev/null | $SHELL`
1.1       bountyht   26:
                     27:
1.1.1.2 ! bountyht   28: # Setup worlds:
        !            29:
        !            30: ## For existing worlds:
1.1       bountyht   31:
                     32: Put your minetest.conf in your worlds/<yourworldname> as world.conf
                     33: Also specify the port in the world.conf
                     34:
1.1.1.2 ! bountyht   35: ## For new worlds:
1.1       bountyht   36:
                     37: Use $ mtctl create <worldname>
                     38: Or use the instruction for the existing worlds
                     39:
1.1.1.2 ! bountyht   40:
        !            41: # More info:
        !            42:
        !            43: * [Minetest Forums](https://forum.minetest.net/viewtopic.php?f=14&t=27093)

CVSweb