Sample Header Ad - 728x90

Linux server accessing a background process started at bootup

0 votes
1 answer
116 views
before I explain my issue I should mention that I'm relatively new to Linux so please forgive my ignorance. I'm using an old Dell E10S to act as a dedicated Minecraft server.  I managed to install Linux and a working Minecraft server (downloaded here ). I also was able to get the server to start upon booting the machine by adding a command into the rc.local file in /etc/rc.local. Inside rc.local I wrote: #!/bin/bash sleep 1m cd /home/haven/dw-server/ sudo ./start.sh It worked, but now the server is running in the background when I log in via ssh and I can't type in any server commands like I would on Windows. Does anyone know how I can bring up the server command line when I ssh into my machine? I already tried the fg command.
Asked by Lexus (1 rep)
Feb 4, 2024, 04:58 PM
Last activity: Feb 5, 2024, 02:48 AM