[Mono-bugs] [Bug 442590] New: mono-service2 exits without error if lockfile already exists

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Nov 7 02:44:57 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=442590


           Summary: mono-service2 exits without error if lockfile already
                    exists
           Product: Mono: Tools
           Version: 1.9
          Platform: i586
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: tools
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: ante at teathree.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: Other


Hello.

This isnt really a bug, but perhaps a small feature request.

I was coding a windows service all day yesterday and couldnt figure out why it
wouldnt run any attempt after the first one. After many hours (and some help
from gonzalo) i realized it was the lockfile that was still there from the
first run.

I started the service like this:
> mono-service2 -d:. -l:lockfile MyService.exe

My requests:
1. Is it possible to add a warning if the lockfile already exists?
2. When the service is shutdown can the lockfile be removed?

This will prevent others from making the same mistake i did.

Thanks in advance,
Andreas Berglund


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list