Subject | Firebird Classic launchd file for OS X 10.4 |
---|---|
Author | hhickma |
Post date | 2005-09-07T05:16:36Z |
Hello all,
I searched and didn't find this anywhere, so figured I'd write it
myself. I am running Firebird Classic Server on a dual processor OS X
box, and in the transition from 10.3 to 10.4, Apple is moving daemon
startup info the the launchd architecture from the more traditional
inetd (or xinetd) style.
After a bit of fiddling around, I finally figured it out. After
installing Firebird to /Library/Frameworks/Firebird.framework, you
will need to place the following file in
/Library/LaunchDaemons/gds_db.plist
If anyone needs it and the wrapping gets mangled in the post, let me
know and I will email it directly to you.
Thanks!
Hubert Hickman
__________________
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>gds_db</string>
<key>ProgramArguments</key>
<array>
<string>/Library/Frameworks/Firebird.framework/Resources/bin/fb_inet_server</string>
</array>
<key>inetdCompatibility</key>
<dict>
<key>Wait</key>
<false/>
</dict>
<key>InitGroups</key>
<true/>
<key>Sockets</key>
<dict>
<key>Listeners</key>
<dict>
<key>SockServiceName</key>
<string>gds_db</string>
</dict>
</dict>
</dict>
</plist>
I searched and didn't find this anywhere, so figured I'd write it
myself. I am running Firebird Classic Server on a dual processor OS X
box, and in the transition from 10.3 to 10.4, Apple is moving daemon
startup info the the launchd architecture from the more traditional
inetd (or xinetd) style.
After a bit of fiddling around, I finally figured it out. After
installing Firebird to /Library/Frameworks/Firebird.framework, you
will need to place the following file in
/Library/LaunchDaemons/gds_db.plist
If anyone needs it and the wrapping gets mangled in the post, let me
know and I will email it directly to you.
Thanks!
Hubert Hickman
__________________
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>gds_db</string>
<key>ProgramArguments</key>
<array>
<string>/Library/Frameworks/Firebird.framework/Resources/bin/fb_inet_server</string>
</array>
<key>inetdCompatibility</key>
<dict>
<key>Wait</key>
<false/>
</dict>
<key>InitGroups</key>
<true/>
<key>Sockets</key>
<dict>
<key>Listeners</key>
<dict>
<key>SockServiceName</key>
<string>gds_db</string>
</dict>
</dict>
</dict>
</plist>