1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" |
---|
3 | "http://www.apple.com/DTDs/PropertyList-1.0.dtd";> |
---|
4 | <plist version="1.0"> |
---|
5 | <dict> |
---|
6 | <key>Label</key> |
---|
7 | <string>org.openvpn2.server</string> |
---|
8 | <key>ServiceDescription</key> |
---|
9 | <string>Starts an OpenVPN Server.</string> |
---|
10 | <key>WorkingDirectory</key> |
---|
11 | <string>/opt/local/etc/openvpn2/example</string> |
---|
12 | <key>Program</key> |
---|
13 | <string>/opt/local/sbin/openvpn2</string> |
---|
14 | <key>ProgramArguments</key> |
---|
15 | <array> |
---|
16 | <string>openvpn2</string> |
---|
17 | <string>--config</string> |
---|
18 | <string>server.conf</string> |
---|
19 | <string>--log-append</string> |
---|
20 | <string>/opt/local/var/log/openvpn2/server.log</string> |
---|
21 | <string>--status</string> |
---|
22 | <string>/opt/local/var/log/openvpn2/status.log</string> |
---|
23 | <string>3600</string> |
---|
24 | <string>--mute</string> |
---|
25 | <string>10</string> |
---|
26 | |
---|
27 | </array> |
---|
28 | <key>RunAtLoad</key> |
---|
29 | <true/> |
---|
30 | <key>KeepAlive</key> |
---|
31 | <dict> |
---|
32 | <key>NetworkState</key> |
---|
33 | <true/> |
---|
34 | </dict> |
---|
35 | <key>TimeOut</key> |
---|
36 | <integer>90</integer> |
---|
37 | </dict> |
---|
38 | </plist> |
---|