Re: How to make service/demon in OS X
Re: How to make service/demon in OS X
- Subject: Re: How to make service/demon in OS X
- From: Ruslan Zasukhin <email@hidden>
- Date: Sat, 30 Aug 2003 20:14:09 +0300
on 8/30/03 19:31, Bruno Gaufier at email@hidden wrote:
>
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
Hi Bruno,
Thank you for info.
We already have made what we want.
Works like a charm.
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.
I have see in other product they provide small exe files that
start stop process. But this is weird way IMHO.
--
Best regards,
Ruslan Zasukhin [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: email@hidden
web:
http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
_______________________________________________
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.