diff --git a/README.md b/README.md index db9de2c..a947516 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,12 @@ Run --- $ sudo tunnels + +If you're on a Mac and wanna have tunnels run all the time, load it via launchctl from `/Library/LaunchAgents`: + + $ launchctl load jugyo.tunnels.plist + +or use [LaunchRocket](https://github.com/jimbojsb/launchrocket), but don't forget to check the "As Root" option. If you are using rvm: diff --git a/jugyo.tunnels.plist b/jugyo.tunnels.plist new file mode 100644 index 0000000..21d7623 --- /dev/null +++ b/jugyo.tunnels.plist @@ -0,0 +1,27 @@ + + + + + Label + jugyo.tunnels + ProgramArguments + + /usr/bin/env + ruby + -rtunnels + -eTunnels.run! + + KeepAlive + + RunAtLoad + + + +