Hello,
I am writing a service for Linux I have written all the code. Here's what’s wrong I hope you can help. When the service runs it checks several things, this need to be visible to the user. Afterward it listens on a port and because its listening it stop and doesn’t return the user to the shell it just carries on waiting. This is a problem when the server start as is obviously doesn’t complete the setup it stops and waits for the program to finish listening which it doesn’t. How can I get around this? I have tried "> /dev/null" it does work but hides all of the information to the user.
Any ideas?
Thanks