[Mono-list] service lock file disappears, service keeps running
twostepted at yahoo.com
Fri Jan 4 03:13:02 EST 2008
When I start my mono service app on fedora core 8 with `/sbin/service myservice start`, the lock file disappears while the app continues to run. This prevents the app from being properly shutdown with `/sbin/service myservice stop`. I wrote the init.d script.
The init.d script uses this line to start the app:
mono-service -l:/tmp/myservice.lock -d:/etc/myservice /usr/bin/myservice
I'm wondering what might cause this to happen? Do I have a threading problem? Am I improperly launching the service since the working directory is set to different from the directory where the assembly is located?
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list