Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Service on Mac OS X Server



I was just curious to know if Apple was providing a way to integrate third-party's server softwares (running as daemons or equivalent) into Mac OS X's Server administration tools. It doesn't appear to be the case.

What I want is to make our software (a server sofware based of the 4th Dimension database engine) run as a "daemon", which means for us :

- be started before any login occurs
- run in the background with no interface
- continue to run even if a user logs out after logging in.

We can achieve this on Windows by running our software as a "service". I was looking forward the same kind of functionnality on Mac OS X (Server or not).

By reading answers on this mailing-list (thanks to everyone for your help), I am getting to the conclusion that there is two possible ways (Startup Item or deamon) but none is totally satisfying :

- creating a StartupItem allows us to start our software before any logon but it doesn't make it faceless (because 4th Dimension certainly uses Mac OS X's Windows server), neither does it prevent it from exiting when a user logs out

- working as daemon seems impossible because of the 4th Dimension uses of Mac OS X's Windows server and other "visible" APIs.

If you know a way to make an application run as a "daemon" even it has not been developed in with this goal in mind, I'be glad to know?.

Thanks.
Eric





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?


Axel

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/earlotti% 40orkis.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Macos-x-server mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >Service on Mac OS X Server (From: Eric Arlotti <email@hidden>)
 >Re: Service on Mac OS X Server (From: Jaime Magiera <email@hidden>)
 >Re: Service on Mac OS X Server (From: Axel Luttgens <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.