Try to fix htmltidy issues.
authorGuus Sliepen <guus@tinc-vpn.org>
Wed, 21 Sep 2022 08:55:47 +0000 (10:55 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Wed, 21 Sep 2022 08:55:47 +0000 (10:55 +0200)
examples/osx-install.mdwn

index adbf853..5a4f7fe 100644 (file)
@@ -59,25 +59,27 @@ The following example is a plist file for the tinc network name: myvpn
 
 */Library/LaunchDaemons/myvpn.tinc.plist*:
 
-    <?xml version="1.0" encoding="UTF-8"?>
-    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-    <plist version="1.0">
-    <dict>
-       <key>KeepAlive</key>
-       <true/>
-       <key>Label</key>
-       <string>tinc.myvpn</string>
-       <key>ProgramArguments</key>
-       <array>
-               <string>/opt/local/tinc/sbin/tincd</string>
-               <string>-n</string>
-               <string>myvpn</string>
-               <string>-D</string>
-       </array>
-    </dict>
-    </plist>
-
-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 <key>KeepAlive</key> 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:
+```
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+       <key>KeepAlive</key>
+       <true/>
+       <key>Label</key>
+       <string>tinc.myvpn</string>
+       <key>ProgramArguments</key>
+       <array>
+               <string>/opt/local/tinc/sbin/tincd</string>
+               <string>-n</string>
+               <string>myvpn</string>
+               <string>-D</string>
+       </array>
+</dict>
+</plist>
+```
+
+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 `<key>KeepAlive</key>` 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