Re: A Couple of Daemon Questons
Re: A Couple of Daemon Questons
- Subject: Re: A Couple of Daemon Questons
- From: Nick Zitzmann <email@hidden>
- Date: Sun, 18 Jul 2004 00:56:40 -0600
On Jul 17, 2004, at 10:56 PM, Kodex wrote:
1) How do i launch and stop a daemon from a cocoa app?
Is there a way to do this so you dont see the terminal
during loading?
NSTask, or AuthorizationExecuteWithPrivileges() if the daemon must be
run with super-user privileges.
2) Where do i place the daemon file to be loaded at
startup? i could attach it as a login item but once
again i would really prefer not to have it show the
terminal window when loading.
You can make a startup bundle and place it in /Library/StartupItems,
but that will run the daemon as the super-user. What does your daemon
do, exactly?
Nick Zitzmann
<
http://www.chronosnet.com/>
_______________________________________________
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.