Skip to content

Instantly share code, notes, and snippets.

@jtslear
Created October 5, 2014 20:32
Show Gist options
  • Save jtslear/df3ee5e0f5ca39646e2e to your computer and use it in GitHub Desktop.
Save jtslear/df3ee5e0f5ca39646e2e to your computer and use it in GitHub Desktop.
tmate upstart
description "Starts the tmate service"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
respawn limit 10 5
console log
# We assume tmate-slave is installed in the opt dir
chdir /opt/tmate-slave
exec /opt/tmate-slave/tmate-slave
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment