> I wrote a program which is a little server process and listens at a udp > port to serve some things. Momentarily I run this program in linux with > the command "myprog &". > Is there any possibility to start the program and it puts itself to > background? The unix-programs like samba etc. can do this. Some programs > do this, if one adds the parameter "-d". > How can this be done with .NET/mono? > Next thing is to open a locked file in /var/run to get the process id of > an already running process of the same app...
You want to write a service, and start it with mono-service.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
