Voir le texte source
De WikiCinéjeu.
pour
Absolutely free Minecraft Hosting: What Ought to You Know?
Aller à :
Navigation
,
rechercher
motd=you should endureAutomated Startup Compared that what is posted on the Minecraft Wiki the underneath is a easy startup script employing Debians/Ubuntus commence-end-deamon utility, it does not have the update server, or operate file technique in memory option in my viewpoint Java+Linux do a excellent task technique caching on demand and any speeds from operating in memoryThe server is run underneath user 'minecraft-server' and team 'daemon' to boost security - this account and group is created as follows:# useradd --residence-dir /usr/neighborhood/minecraft-server --no-develop-residence -g daemon --shell /bin/fake minecraft-server# groupadd daemonProduce the startup script as follows# cd /and so forth/init.d/# contact minecraft-server# chmod +x minecraft-serverPaste the pursuing code into the script and make certain to modify the DAEMON_ARGS environment to replicate your memory allocation.#!/bin/bash### Commence INIT Data# Offers: minecraft_server# Essential-Commence: $local_fs $remote_fs $community# Needed-End: $neighborhood_fs $distant_fs $community# Default-Start off: two three 4 5# Default-End: 1 6# Description: Minecraft server debian init script.# Creator: Daniel Sokolowski#### Finish INIT Details# You can use this as a template or symbolic hyperlink it into `/and so forth/init.d` on Debian technique# Route must only contain /usr/* if it operates soon after the mountnfs.sh script PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin DESC="Minecraft Server"Identify=minecraft_server.jar SCREENNAME=minecraft-server # the session screen game givenDAEMON="/usr/bin/screen"DAEMONUSER=minecraft-serverDAEMONGROUP=daemon# the -Xincgc choices permit incremental rubbish collector which slows # execution but makes more memory effective. A last vacation resort is to# sleep for some time.start off-stop-daemon --cease --quiet --oknodo --retry=/30/Kill/5 --exec $DAEMON[ "$?" = 2 ] && return two# Numerous daemons really don't delete their pidfiles when they exit.rm -f $PIDFILEsnooze 5sreturn "$RETVAL"## Operate that sends a SIGHUP to the daemon/provider#do_reload() ## If the daemon can reload its configuration without# restarting (for instance, when it is despatched a SIGHUP),# then put into action that listed here.#start-stop-daemon --cease --sign 1 --tranquil --pidfile $PIDFILE --identify $Identifyreturn circumstance "$1" inbegin)[ "$VERBOSE"!= no ] && log_daemon_msg "Commencing $DESC" "$NAME"do_commencescenario "$?" in|one) [ "$VERBOSE"!= no ] && log_end_msg 2) [ "$VERBOSE"!= no ] && log_finish_msg oneesacstop)[ "$VERBOSE"!= no ] && log_daemon_msg "Stopping $DESC" "$NAME"do_quitscenario "$?" in|one) [ "$VERBOSE"!= no ] && log_finish_msg two) [ "$VERBOSE"!= no ] && log_end_msg 1esac#reload|pressure-reload)## If do_reload() is not applied then depart this commented out# and go away 'force-reload' as an alias for 'restart'.##log_daemon_msg "Reloading $DESC" "$NAME"#do_reload#log_finish_msg $?#restart|power-reload)## If the "reload" alternative is carried out then eliminate the# 'force-reload' alias#log_daemon_msg "Restarting $DESC" "$NAME"do_ceasecase "$?" in|1)do_commencecircumstance "$?" in) log_end_msg one) log_conclude_msg one # Old procedure is even now operating*) log_stop_msg 1 # Unsuccessful to beginesac*)# Unsuccessful to ceaselog_conclude_msg oneesac*)#echo "Use: $SCRIPTNAME reload" >&2echo "Use: $SCRIPTNAME stop" >&2exit [http://www.awebcafe.com/blogs/viewstory/3051304 Cost-free Minecraft Hosting: What Really should You Know?] 3esacActivate the startup script and start off the server by executing the following instructions:# update-rc.d minecraft-server defaults# /and so forth/init.d/minecraft-server startMuch more Resources All wanting for that [http://www.fizzlive.com/member/390443/blog/view/597631/ Your Own Minecraft Server on a Linode VPS] one particular sport that will preserve you hooked! And this would very likely take place when you are carrying out functions in-game like venturing, mining and farming.
Revenir à la page
Absolutely free Minecraft Hosting: What Ought to You Know?
.
Affichages
Page
Discussion
Voir le texte source
Historique
Outils personnels
Créer un compte ou se connecter
Navigation
Accueil
Cinéjeu
Forum
Modifications récentes
Page au hasard
Aide
Rechercher
Boîte à outils
Pages liées
Suivi des pages liées
Pages spéciales