Re: StartupItems hates me: continued (2) ....
Re: StartupItems hates me: continued (2) ....
- Subject: Re: StartupItems hates me: continued (2) ....
- From: Lloyd Dupont <email@hidden>
- Date: Thu, 12 Jun 2003 14:49:08 +1000
I install this dumy server in '/Library/StartupItems' and it failed as
descibe below.
However, just for fun, I install it in '/System/Library/StartupItems'
and this times it seems to work ok.
On one hand I could blame Apple documentation for advising me to use
'/Library/StartupItems' while it doesn't work.
But, on the other hand, I have Timbuctu in '/Library/StartupItems' too,
and it work.
so I guess there is something wrong with what I do.
Any ideas ? ....
On Thursday, June 12, 2003, at 02:26 PM, Lloyd Dupont wrote:
I have a service (in StartupItems) which start correctly at boot time.
However when I log out the service stop ;-(
I have no idea, but you might have.
so I write this very test case which behave the same and quit
unfortunately.
<DummyStartup.tgz>
uncompress it and place it in /Library/StartupItems
in case it was an evil virus you could recompile the C file:
$ gcc -Wall -o DummyStart2 DummyStart.c
the start it (either reboot or type: 'sudo SystemStarter start
DummyServer', follow by your password).
it will now run for 1000 seconds.
you could log out, log in and then
ps -auxww | grep Dummy
(don't forget the 'ww' argument in ps, that tricks me a while)
and then you will see, this StartuypItem owned and launch by root has
died when you log out.
I wonder why ?
Any idea ?
Any tip, link, whatever ?
World fate is depending on your very solution !
_______________________________________________
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.