Skip to content

Instantly share code, notes, and snippets.

@dbwest
Last active December 24, 2015 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbwest/6824669 to your computer and use it in GitHub Desktop.
Save dbwest/6824669 to your computer and use it in GitHub Desktop.
description "appium server"
author "startup script: kvz - http://kevin.vanzonneveld.net"
# used to be: start on startup
# until we found some mounts weren't ready yet while booting:
start on started mountall
stop on shutdown
# Automatically Respawn:
respawn
respawn limit 99 5
script
# Not sure why $HOME is needed, but we found that it is:
export HOME="/root"
exec appium >> /var/log/node.log 2>&1
end script
post-start script
# Optionally put a script here that will notifiy you node has (re)started
# /root/bin/hoptoad.sh "node.js has started!"
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment