[Mono-dev] Launchctl and Mono-Service2 issue
srinin
srinivas.nangunoori at ironmountain.com
Fri Mar 18 06:34:24 EDT 2011
Hi All,
I have a simle windows service inherited from ServiceBase class. So in Mac i
am able to run the service using Mono-Service2 without any
issue.(mono-service2 )
For this process i want to run it as when ever system restarts So i have
created a Plist ald placed in LaunchAgent. But i am not able to see the
service is running on system restart. And also with simple command
launchctl load . This one also not able to start the service.
The Plist content is ,
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
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
Kindly any one help me into solve this issue.
Regards
Srini
--
View this message in context: http://mono.1490590.n4.nabble.com/Launchctl-and-Mono-Service2-issue-tp3386856p3386856.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list
mailing list