![]() When the job finishes the run, it will produce this output (typically the next time you hit the enter key you'll see the message): $ This starts the job running in the background and note that it was assigned job ID 1 (because it is the first job launched in this command shell) and the process ID was 3958. I don't have a minecraft server, so I'll simulate running a job in the background using a 'sleep' command (you would use your minecraft script instead of the sleep command): $ sleep 60 & The command shell (terminal window) will issue a job id (in square brackets), followed by the process ID. This presume you know that you want to run this in the background when you launching it. The easy way to run any job in the background is to put an & at the end of the line in the command shell when launching the process. How to run jobs in the background - the simple way I wont address that method here - you indicated this is not what you want to do. more operationally mature) way of doing things. If you regularly know that this is what you want, it is the more accepted (e.g. There is a completely different way of doing things if you want to set up your process so that it launches as a system service (e.g. I'll address answers to those questions here. ![]() recall it to the foreground at a later time. ![]() You mentioned you want to be able to launch your server as a foreground process but be able to send it to the background and. As with nearly all things Unix/Linux, there is more than one solution. ![]()
0 Comments
Leave a Reply. |