Ticket #18174: org.macports.mysql5.plist

File org.macports.mysql5.plist, 1.3 KB (added by outis, 15 years ago)

Launch mysql server on demand

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3<plist version="1.0">
4<dict>
5        <key>Debug</key><false/>
6        <key>Label</key>
7        <string>org.macports.mysql5</string>
8        <key>OnDemand</key><true/>
9        <key>ProgramArguments</key>
10        <array>
11                <string>/opt/local/bin/daemondo</string>
12                <string>--label=mysql5</string>
13                <string>--start-cmd</string>
14                <string>/opt/local/etc/LaunchDaemons/org.macports.mysql5/mysql5.wrapper</string>
15                <string>start</string>
16                <string>;</string>
17                <string>--stop-cmd</string>
18                <string>/opt/local/etc/LaunchDaemons/org.macports.mysql5/mysql5.wrapper</string>
19                <string>stop</string>
20                <string>;</string>
21                <string>--restart-cmd</string>
22                <string>/opt/local/etc/LaunchDaemons/org.macports.mysql5/mysql5.wrapper</string>
23                <string>restart</string>
24                <string>;</string>
25                <string>--pid=none</string>
26        </array>
27        <key>RunAtLoad</key><false/>
28        <key>Sockets</key>
29        <dict>
30                <key>UnixSock</key>
31                <dict>
32                        <key>SockFamily</key>
33                        <string>Unix</string>
34                        <key>SockPathMode</key>
35                        <integer>438</integer>
36                        <key>SockPathName</key>
37                        <string>/opt/local/var/run/mysql5/mysqld.sock</string>
38                        <key>SockType</key>
39                        <string>Stream</string>
40                </dict>
41        </dict>
42</dict>
43</plist>