1
0
mirror of https://github.com/prirun/p50em.git synced 2026-01-11 23:42:56 +00:00

Startup support for Mac OS X.

This commit is contained in:
Dennis Boone 2020-03-20 20:57:34 -04:00
parent 30da390699
commit ba921ada90
2 changed files with 45 additions and 0 deletions

4
README.macos_launchd Normal file
View File

@ -0,0 +1,4 @@
Sample startup for the emulator on MacOS
Customize the em19.launchd file, place it in /Library/LaunchDaemons as
com.prirun.em19, reboot, and the emulator should start automagically.

41
em19.launchd Normal file
View File

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" \
"https://urldefense.com/v3/__http://www.apple.com/DTDs/PropertyList-1.0.dtd__;!!
HXCxUKc!m8xR1n3HdI65ujWqsUuWRzRfHOmHfWV1NnmTyYiIppcr7w45zCJzVujFhyA$ ">
<dict>
<key>Label</key>
<string>com.prirun.em19</string>
<key>ServiceDescription</key>
<string>Rev 19 Prime Emulator</string>
<key>Disabled</key>
<false/>
<key>OnDemand</key>
<false/>
<key>LowPriorityIO</key>
<true/>
<key>UserName</key>
<string>jim</string>
<key>GroupName</key>
<string>staff</string>
<key>Program</key>
<string>/Users/jim/prime/pub/runem</string>
<key>WorkingDirectory</key>
<string>/Users/jim/prime/pub/</string>
<key>ProgramArguments</key>
<array>
<string>runem</string>
<string>19</string>
<string>8001</string>
<string>8101</string>
</array>
</dict>
</plist>