User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2
On 9/06/06 14:51, Jaime Magiera wrote:
On Jun 9, 2006, at 8:38 AM, Eric Arlotti wrote:
Hi everyone,
We develop a web server software that runs on both Mac OS X and
Windows. On Windows, we can run our software as a "service", which
means that the software can be started at boot time even if no user
has logged on and that the software can be run with no interface.
I would like to know if there is an equivalent notion on Mac OS X
Server (and also on Mac OS X).
I have seen that "services" can be controlled through the "Server
Settings" utility (I have an old Mac OS X Server 10.2.8, maybe the
name has changed in newer version). You can control the Web service
that comes with Mac OS X Server (you can configure it, stop and
start it, show its status). Same thing for Mail service or FTP service.
If I provide my own Web server program or another kind of program,
is it possible to install it and run it as a Mac OS X Server's
service ?
Thanks in advance for your help.
Hi Eric,
It is possible to run it as a service on Mac OS X and Mac OS X
Server. You could do this at the BSD level (http://
developer.apple.com/unix/) or higher up (http://developer.apple.com/
documentation/MacOSX/Conceptual/BPSystemStartup/Articles/
StartupItems.html).
However, you will not be able to manage that service through the
Server Admin apple. Apple has not opened it to other, non-apple services.
As Jaime already explained it, the administration software provided by
Apple allows to administer a consistent set of services. That is, you'll
get through that interface a surprising integration of selected
services, that would require a lot of work to have them to cooperate
under another environment.
Now, you didn't describe which "service" you have the intent to run: it
could well be that a raw Mac OS X (ie, a client one, not a server one)
could just do the job; remember, you are in an unix world (plus all the
goodies brought by the Mac OS).
Could you tell us a bit more about what you want to achieve?