Running icald at Startup
Create a icald directory (sudo mkdir /Library/StartupItems/icald)
Use VI to create two files within that directory:
-rwxr-xr-x 1 root wheel 272 Jul 9 16:14 StartupParameters.plist
-rwxr-xr-x 1 root wheel 125 Jul 9 16:17 icald
StartupParameters.plist Contents:
{
Description = "icald Initialization";
Provides = ("icald");
Requires = ("Network", "Disks", "Resolver");
Uses = ("NFS");
OrderPreference = "Last";
Messages =
{
start = "Starting icald";
stop = "Stopping icald";
};
}
icald Contents:
#!/bin/sh
##
# Start icald
##
. /etc/rc.common
ConsoleMessage "Starting icald"
sudo /usr/local/bin/icald -u 503
NOTE: location of icald above is specific to your installation. I copied the perl script to /usr/local/bin. -u sets the "Run as" to my UID (503).
Restart and should be good to go! Make sure the files are owned by root/wheel.