• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
launchd chokes on .plist
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

launchd chokes on .plist


  • Subject: launchd chokes on .plist
  • From: Randall Perry <email@hidden>
  • Date: Wed, 04 May 2005 22:04:04 -0400

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:

This email sent to email@hidden

  • Prev by Date: Re: kEventParamMenuRef (was: _NSGetCarbonMenu)
  • Next by Date: CFPreferencesSetAppValue
  • Previous by thread: Re: NSArrayController and the single NSMutableArray
  • Next by thread: CFPreferencesSetAppValue
  • Index(es):
    • Date
    • Thread