Created
October 5, 2014 20:32
-
-
Save jtslear/df3ee5e0f5ca39646e2e to your computer and use it in GitHub Desktop.
tmate upstart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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