Re: Start & Stop demon
Re: Start & Stop demon
most daemons keep their process id in a file. just look at the
manual-pages for the daemon you want to stop. in most cases the file is
called "daemon.pid".
if you want something more about it, you must describe the daemon you
want to stop better. the implementation of the daemon is the key to it
all. some daemons shut down very well with signalling - others crash and
destroy your data. so be careful and try to find something in the manual
about shutdown-behaviour for your daemon.
thomas.
Am Montag, 11. Juni 2001 um 22:11 schrieb Guy Winslow:
Sari i was on a different Machine when i sent first time. Is there a
class or a way to start & stop a demon from within Cocoa. Open to
suggestions, tried calling the ps command and kill, but must get pid
some how. may be truck i am not thinking of.
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev