• 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: Bruno Gaufier <email@hidden>
  • Date: Sat, 30 Aug 2003 18:31:33 +0200

From: Bruno Gaufier <email@hidden>
Date: Sat Aug 30, 2003 6:11:08 PM Europe/Paris
To: Cocoa Dev <email@hidden>
Subject: Re: How to make service/demon in OS X


On Saturday, August 30, 2003, at 09:38 AM, Ruslan Zasukhin wrote:

Anybody can point in part of Apple docs where is described API how to make
service (demon in unix) ?
There is an example in the developer documentation (Sample Code/Processes/MyFirstDaemon).
API used in daemons (daemon() for example) are accessible via the man pages.


And how to show "Valentina Server" line in the MacOS box when computer
startup ?
You can add a startup item (Library/StartupItems). You just have to create a folder containing :
- A script to launch your daemon (Will show your message on the startup screen via ConsoleMessage).
- Your daemon.
- A StartupParameters.plist containing informations about your server.
All the required documentation is in :
Documentation > Mac OS X > System Overview > Booting and Logging In > Customization Techniques

--
Bruno Gaufier
----
email@hidden
email@hidden

http://perso.club-internet.fr/bgaufier/
_______________________________________________
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:
    • Re: How to make service/demon in OS X
      • From: Ruslan Zasukhin <email@hidden>
References: 
 >How to make service/demon in OS X (From: Ruslan Zasukhin <email@hidden>)

  • Prev by Date: Carbon, resource fork
  • Next by Date: Re: Fullscreen and receiving events
  • Previous by thread: How to make service/demon in OS X
  • Next by thread: Re: How to make service/demon in OS X
  • Index(es):
    • Date
    • Thread