Tech Tip: 4D Server as a service: How does Mac OS X know 4D will start when machine boots?
PRODUCT: 4D | VERSION: 2004.2 | PLATFORM: Mac OS X
Published On: July 29, 2005
In 4D Server 2004, a database can now be registered as a service. This simply means that when the machine boots up, 4D Server will launch without user intervention. But how does 4D tell Mac OS X to start a database as a service? The answer can be found in the Mac HD:Library/StartupItems folder. When 4D server has been registered as a service, a folder with the name of your structure that you registered as a service is placed in the above mentioned startupitems folder. This folder that is created contains the following files and folders:
- a UNIX executable file
- StartupParameters.plist
- Resources folder
Once you unregister your database, this folder containing the above files will be non-existent.