Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

launchd chokes on .plist



There's not much info on launchd usage so I thought I'd post this problem
here.

I'm trying to setup UW-IMAP ipop3d pop mail server through launchd. I
created the .plist below by modifying one of the Apple .plist files in
/System/Library/LaunchDaemons, and studying the launchd.plist man page.

I placed the file in /Library/LaunchDaemons and ran launchctl load, but get
the following error:

[xserve1:~] randy% sudo launchctl load /Library/LaunchDaemons
com.systame.ipop3d: Invalid argument

The Label property is supposed to be just a unique string (meaning no other
launchd jobs have the same name), which it is. Anyone know what this error
means?




--- com.systame.ipop3d.plist ---
<?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>Disabled</key>
    <false/>
    <key>Label</key>
    <string>com.systame.ipop3d</string>
    <key>Program</key>
    <string>/usr/local/sbin/ipop3d</string>
    <key>Sockets</key>
    <dict>
        <key>Listeners</key>
        <dict>
            <key>SockPassive</key>
            <true/>
            <key>SockServiceName</key>
            <string>pop3</string>
            <key>SockType</key>
            <string>SOCK_STREAM</string>
        </dict>
    </dict>
    <key>inetdCompatibility</key>
    <dict>
        <key>Wait</key>
        <false/>
    </dict>
</dict>
</plist>



-- 
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales

http://www.systame.com/



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.