PDA

View Full Version : Daemon in Mac OS X


saggi_crishna
09-11-2002, 01:01 PM
Hi ,

I have a following requirement that i should start an application as a daemon in mac os x from the installer of that product. I found that there is a folder called startup items in system folder in which i can place a script and this script gets run at startup time. But can anybody tell me how to specify the path of the application in this script and what parameters i should pass.

mervTormel
09-11-2002, 03:14 PM
officially, you should create a startupitem bundle in /Library/StartupItems

/System is "Keep Out"

http://www.opensource.apple.com/projects/documentation/howto/html/SystemStarter_HOWTO.html

saggi_crishna
09-12-2002, 11:29 AM
Hi , i tried as per your mail and it works fine. Thanks a lot.

Krishna

saggi_crishna
09-13-2002, 12:20 PM
Hi ...i tried the starting part. But i dont find any processes running for this so that i can stop the processes. Is there any process which will run when we start an application when it is launched as a startup bundle. Also should we write any stop script to provide the user to stop the application.

Deepak Kumar
01-02-2009, 03:28 AM
Hi,
I am also facing the same problem...... which krishna faced,
Can anybody give me hint how to start an application as a daemon in mac os x