average cost inventory method buy outlook microsoft office home and student 2010 windows 8 license key upgrade microsoft office 2010
windows 7 ultimate sp1 key best buy microsoft office 2010 acrobat xi pro mac serial windows 8 pro buy indesign cs6 download full
adobe premiere pro cs6 price http://esw.pembrokeshire.ac.uk...price-list cheapest microsoft office 2010 uk purchase microsoft windows 7 product key purchase windows 7 price in singapore
pharmacie en ligne andorre cialis http://postgrados.utpl.edu.ec/...-en-france http://postgrados.utpl.edu.ec/...inin-vente acheter cialis discrètement acheter viagra avec ordonnance
19 Jun

Starting Appium Via launchd

In a recent project I needed to find a way of getting the Appium node.js app to run all the time on an iOS CI server. The requirements were as follows:

  1. Appium must be run from the checked out Git repository
  2. Launch Appium on start-up, in case the server needs to be rebooted
  3. If Appium crashes (it does sometimes), relaunch the server
  4. Output stdout and stderror to a log file that I can easily view using Console.app to debug problems with Appium

This was achieved with the following launchd plist configuration file placed in ~/Library/LaunchAgents/.


<?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">


The WorkingDirectory setting is required, as Appium uses it to locate the instruments/client.js file.

Start the agent by running:

launchctl load ~/Library/LaunchAgents/<configuration name>.plist

Or stop it by running:

launchctl unload ~/Library/LaunchAgents/<configuration name>.plist

Hope this helps!