Re: Can we write Mac Servies like We write for Windows services
Re: Can we write Mac Servies like We write for Windows services
- Subject: Re: Can we write Mac Servies like We write for Windows services
- From: "Sherm Pendley" <email@hidden>
- Date: Fri, 4 Apr 2008 06:52:10 -0400
On Fri, Apr 4, 2008 at 1:50 AM, Ghufran Ahamad <email@hidden>
wrote:
>
> I need to write a service in Mac (like we write a Windows services for
> PC).
> This will automatically run as soon as start the Mac machine.
I would appreciate if any one knows how to write a Service for Mac OS X.
Many such apps (Apache, MySQL, etc.) are written as traditional UNIX
daemons, although they're managed by launchd on Mac OS X, not by the
traditional init.d scripts. In fact, if you already have a port of your
server to another *nix such as Linux, BSD, or Solaris, then I'd probably use
that version as a starting point of a Mac port.
For the moral equivalent of adding your app to Windows' list of services,
you'll want to create a preference pane:
<
http://developer.apple.com/documentation/UserExperience/Conceptual/PreferencePanes/PreferencePanes.html
>
sherm--
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden