[Mono-osx] Need help to create .plist for mono-service apllication
srinin
srinivas.nangunoori at ironmountain.com
Tue Mar 22 02:10:08 EDT 2011
Hi All,
I have created a .plist for my mono-service application. But i am unable to
load using launchctl command.
my plist file 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
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???
Kindly help me in solve this issue.
Regards
Srini
--
View this message in context: http://mono.1490590.n4.nabble.com/Need-help-to-create-plist-for-mono-service-apllication-tp3395614p3395614.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
More information about the Mono-osx
mailing list