Voir le texte source
De WikiCinéjeu.
pour
Free Minecraft Web hosting: What Should You Know?
Aller à :
Navigation
,
rechercher
And it can be regarded as a warning sign alerting you on the requirement of a [http://fr8pals.com/group/45872 Minecraft: The Video game of Intellectual Men] paid out server for the very same. # -Xmx1024M is the recommended minimalDAEMON_ARGS="-DmS $SCREENNAME java -Xincgc -Xms32M -Xmx304M -jar /usr/neighborhood/minecraft-server/$Identify nogui"# Lowest memory limit utilized was about 80M on new start off.# For screen we use `-DmS` rather of -dmS considering that -D doesn't detach the screen so our pid# file designed by commence-cease-deamon is appropriate. PIDFILE=/usr/neighborhood/minecraft-server/$Identify.pid SCRIPTNAME=/and so forth/init.d/$Title# Exit if the bundle is not installed#[ -f "$DAEMON" ] || exit # Study configuration variable file if it is current[ -r /and so forth/default/$Identify ] &&. /and many others/default/$Title# Load the VERBOSE setting and other rcS variables. /lib/init/vars.sh# Outline LSB log_* functions.# Count on lsb-foundation (>= three.-6) to make certain that this file is current.. /lib/lsb/init-capabilities## Function that commences the daemon/provider#do_commence()# Return# if daemon has been began# one if daemon was already running# two if daemon could not be begancommence-quit-daemon -c $DAEMONUSER -g $DAEMONGROUP -u $DAEMONUSER --commence --verbose --background --chdir /usr/neighborhood/minecraft-server/ --pidfile $PIDFILE --make-pidfile --exec $DAEMON -- $DAEMON_ARGSecho "start off-cease-daemon -c $DAEMONUSER -g $DAEMONGROUP --start off --verbose --history --chdir /usr/nearby/minecraft-server/ --pidfile $PIDFILE --make-pidfile --exec $DAEMON -- $DAEMON_ARGS"# Insert code right here, if necessary, that waits for the process to be prepared# to manage requests from companies began subsequently which depend# on this one. A last vacation resort is to# snooze for some time.start-quit-daemon --cease --quiet --oknodo --retry=/30/Kill/five --exec $DAEMON[ "$?" = two ] && return 2# A lot of daemons don't delete their pidfiles when they exit.rm -f $PIDFILEslumber 5sreturn "$RETVAL"## Perform that sends a SIGHUP to the daemon/provider#do_reload() ## If the daemon can reload its configuration with out# restarting (for example, when it is sent a SIGHUP),# then apply that right here.#commence-end-daemon --stop --signal 1 --tranquil --pidfile $PIDFILE --name $Identifyreturn situation "$1" incommence)[ "$VERBOSE"!= no ] && log_daemon_msg "Starting $DESC" "$NAME"do_beginscenario "$?" in|one) [ "$VERBOSE"!= no ] && log_stop_msg 2) [ "$VERBOSE"!= no ] && log_end_msg 1esacstop)[ "$VERBOSE"!= no ] && log_daemon_msg "Stopping $DESC" "$NAME"do_endcase "$?" in|1) [ "$VERBOSE"!= no ] && log_finish_msg two) [ "$VERBOSE"!= no ] && log_conclude_msg 1esac#reload|force-reload)## If do_reload() is not implemented then go away this commented out# and depart 'force-reload' as an alias [http://my.opera.com/shtyauncodamccoljulum/blog/show.dml/85330512 Minecraft: The Finest Indie Match Nevertheless!] for 'restart'.##log_daemon_msg "Reloading $DESC" "$NAME"#do_reload#log_end_msg $?#restart|pressure-reload)## If the "reload" alternative is implemented then take away the# 'force-reload' alias#log_daemon_msg "Restarting $DESC" "$NAME"do_quitcase "$?" in|1)do_beginsituation "$?" in) log_end_msg 1) log_conclude_msg one # Previous method is even now operating*) log_conclude_msg 1 # Unsuccessful to startesac*)# Failed to stoplog_end_msg 1esac*)#echo "Utilization: $SCRIPTNAME begin" >&2echo "Utilization: $SCRIPTNAME cease" >&2exit 3esacActivate the startup script and start the server by executing the adhering to instructions:# update-rc.d minecraft-server defaults# /and many others/init.d/minecraft-server beginFar more Resources stones, drinking water, ores, grime, trunks and many others [http://www.dailystrength.org/people/3176700/journal/6896666 Absolutely free Minecraft Hosting: What Must You Know?] .
Revenir à la page
Free Minecraft Web hosting: What Should 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