First off: Im absolutely new to Mac, so the problem might be really really basic.
I have been trying to set up a Launchd Daemon to run at startup to run a Service via Mono.Frameworks. I used Lingon to create the .plist file
<?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"> <plist version="1.0"> <dict> <key>Label</key> <string>com.netviewer.WorkerContainer</string> <key>ProgramArguments</key> <array> <string>sudo</string> <string>/Library/Frameworks/Mono.framework/Versions/Current/bin/mono-service2</string> <string>-d:/Users/nvadmin/MacCustomizationWorker</string> <string>/Users/nvadmin/MacCustomizationWorker/Worker.Container.exe</string> </array> <key>RunAtLoad</key> <true/> <key>ServiceDescription</key> <string>Worker Container</string> <key>WorkingDirectory</key> <string>/Users/nvadmin/MacCustomizationWorker</string> </dict> </plist>
The command to start the service does work fine when run manually
It does however not start automatically on startup. Any help? Im really stuck since this is the first time Im using a Mac.