• 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
Re: How to make service/demon in OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to make service/demon in OS X


  • Subject: Re: How to make service/demon in OS X
  • From: Clark Goble <email@hidden>
  • Date: Sat, 30 Aug 2003 12:40:24 -0600

Other question:

* in Windows XP/NT we have control panel Services,
where user can start/stop service.

it seems we do not have such feature on OS X.

That's because it doesn't make sense. How does a user know what is or is not a service? That's an implementation issue. In OS X, services that can be started and stopped are either things that the average user wouldn't want to fiddle with (in which case the existing Startup Item support from the console is fine [see "man SystemStarter"]), or they are adjustable in the appropriate System Preference panes (for example, the Sharing pane lets you enable or disable remote login, FTP access, etcetera).

Actually it makes sense. The problem with Jaguar is that halt commands are typically ignored unless done manually. So if you write a service with the three commands (easiest done with the daemon utility of fink) the OS only sends the startup. This can cause problems for databases or the like. I know some mySQL people were complaining about this.

I believe this is fixed in Panther (and may actually be fixed already in 10.2 with one of the recent updates, although I don't think it is)

While this is fairly technical and the typical user doesn't know what is or isn't a service, for more technical users a control panel would be very helpful. Right now everything must be done from the terminal using the afore mentioned SystemStarter. That's not an ideal situation. I don't know if Panther fixes this UI issue. Putting a Cocoa interface around it or even an interface with Applescript Studio probably would be a good idea.

i.e. excellent shareware opportunity.

Clark Goble
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • [OT] Re: How to make service/demon in OS X
      • From: "Alastair J.Houghton" <email@hidden>
References: 
 >Re: How to make service/demon in OS X (From: "Alastair J.Houghton" <email@hidden>)

  • Prev by Date: getting the app name of an app that quits
  • Next by Date: [ANN] ObjC EOF on OSX
  • Previous by thread: Re: How to make service/demon in OS X
  • Next by thread: [OT] Re: How to make service/demon in OS X
  • Index(es):
    • Date
    • Thread