X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=examples%2Fosx-install.mdwn;h=adbf8536d3134cd659f8d4efe941b2fc07834296;hb=HEAD;hp=bdb237a89d299723d1a904fb3fb65ee649336cd2;hpb=f42c6a69690b05d49fc2816db882fe7ee859f089;p=wiki diff --git a/examples/osx-install.mdwn b/examples/osx-install.mdwn index bdb237a..5a4f7fe 100644 --- a/examples/osx-install.mdwn +++ b/examples/osx-install.mdwn @@ -51,7 +51,7 @@ Tinc can now be configured and executed. ### Start tinc automatically on system boot -[launchd](http://en.wikipedia.org/wiki/Launchd) is a system for monitoring services and make sure services are started if certain conditions are met. This system is available on OS X 10.5 and later versions. +[launchd](https://en.wikipedia.org/wiki/Launchd) is a system for monitoring services and make sure services are started if certain conditions are met. This system is available on OS X 10.5 and later versions. To use launchd, you have to create a property-list file for tinc and put it under /Library/LaunchDaemons/ @@ -59,25 +59,27 @@ The following example is a plist file for the tinc network name: myvpn */Library/LaunchDaemons/myvpn.tinc.plist*: - - - - - KeepAlive - - Label - tinc.myvpn - ProgramArguments - - /opt/local/tinc/sbin/tincd - -n - myvpn - -D - - - - -This will configure tincd to start the myvpn configuration in the foreground (-D). If tincd is started as background daemon, launchd will not function correctly with tinc. Launchd will directly start tincd if this file is found. The KeepAlive element will ensure that tincd is always running, and to be restarted if it stops. To stop tincd, use the *launchctl* command. Some commands to remember are: +``` + + + + + KeepAlive + + Label + tinc.myvpn + ProgramArguments + + /opt/local/tinc/sbin/tincd + -n + myvpn + -D + + + +``` + +This will configure tincd to start the myvpn configuration in the foreground (-D). If tincd is started as background daemon, launchd will not function correctly with tinc. Launchd will directly start tincd if this file is found. The `KeepAlive` element will ensure that tincd is always running, and to be restarted if it stops. To stop tincd, use the *launchctl* command. Some commands to remember are: launchctl unload -w /Library/LaunchDaemons/myvpn.tinc.plist @@ -120,7 +122,7 @@ getting tinc to work. In the case of compiling tinc the following is required: -* [XCode](http://developer.apple.com/xcode/) +* [XCode](https://developer.apple.com/xcode/) * [LZO libraries](http://www.oberhumer.com/opensource/lzo/) Before starting, create a new folder `tmp` in your home directory @@ -166,12 +168,6 @@ Enter the directory, and execute configure, make, make install: Having installed Tinc, you can move to the [next section](#config). -#### Download it - -Link: [tincd-1.0.9.zip](/packages/osx/tincd-1.0.9.zip). Please note that this archieve -provides only the executable and does not include any manual. Once -downloaded, place the extracted executable into `/usr/sbin/`. - ### Configuring tinc Tinc on OS X looks for configuration files in `/usr/etc/tinc`. In