script for launchd

Does anyone have an example of a script for launchd with plist to launch a standalone web app on osx?


the plist looks like this:

<?xml version="1.0" encoding="UTF-8"?> Disabled KeepAlive Label de.comprocom.fileserver Program /Users/server/Desktop/FileServer/FileServer StandardErrorPath /Users/server/Desktop/FileServer/FileServer.log StandardOutPath /Users/server/Desktop/FileServer/FileServer.log

and /Users/server/Desktop/FileServer/FileServer is just the path to the console app made with Xojo.

I highly recommend the app LaunchControl for launchd management.

Tanks Christian ad Kem