[Mono-dev] Launchctl and Mono-Service2 issue

srinin srinivas.nangunoori at ironmountain.com
Mon Mar 21 02:42:21 EDT 2011


Hi Steve

Thanks for the reply...

My problem here is 
after creating plist even with simple command in console
launchctl load  
i am not able to load the application. 

My plist content is ,

<?xml version="1.0" encoding="UTF-8"?>
&lt;!DOCTYPE plist PUBLIC &quot;-//Apple//DTD PLIST 1.0//EN&quot;
&quot;http://www.apple.com/DTDs/PropertyList-1.0.dtd&quot;&gt;


        label
        com.irnmtn.daemontest

        ProgramArguments
        
               
/Library/Frameworks/Mono.framework/Versions/Current/bin/mono-service2
               
/Users/admin/Gryphon/Debug/Imd.Gryphon.Agents.BackgroundAgent.exe
        

        OnDemand
        

        Nice
        1

        StartInterval
        600

        StandardErrorPath
        /tmp/AlTest1.err

        StandardOutPath
        /tmp/AlTest1.out



If i replace with following key,

ProgramArguments
        
               
/Library/Frameworks/Mono.framework/Versions/Current/bin/mono-service2
               
/Users/admin/Gryphon/Debug/Imd.Gryphon.Agents.BackgroundAgent.exe
        

with 

ProgramArguments
        
                /Library/Frameworks/Mono.framework/Versions/Current/bin/mono
               
/Users/admin/Gryphon/Debug/Imd.Gryphon.Agents.BackgroundAgent.exe
        

I am able to run the application if i replace with mono-service2 to mono.
But i want to run the application as mono service. So i want to know is my
plist is correct??? 


Regards
Srini



--
View this message in context: http://mono.1490590.n4.nabble.com/Launchctl-and-Mono-Service2-issue-tp3386856p3392740.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list