I'm new to this process, so bear with me please.
The server is my own socket server, it parses data from connected clients and saves it to a database. It won't serve data in the form of web pages or anything, at the very most it'll retrieve data from the database and send that back to the connected client. I want to set up the server to run as a service, so it will start when the server is booted and I can manage it from the command line more easily. my hardware is running CentOS.
I really don't know where to begin. I've seen a tomcat
user, and www-data
on other Linux distros, which I believe is also a tomcat user.
I imagine these users also have their own folders for storing settings and data, etc.
As you can imagine, searching for this type of information on the internet it's pretty tricky.
I've been reading about the passwd file here and looking at the tomcat user in my passwd file, but it's not making a lot of sense to me. Any pointers you might have would be great!