description "ZeroTier One upstart startup script"

author "Adam Ierymenko <adam.ierymenko@zerotier.com>"

start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [!2345]

respawn
respawn limit 2 300

#pre-start script
#end script

exec /usr/sbin/zerotier-one
