#41 OS-X service directory Library/LaunchAgents not created

open
nobody
None
5
2011-08-07
2011-08-07
Jo Tzschenscher
No

In order to use the standard installation scripts of YAJSW the script installDaemon.sh should check under Apple OS-X, whether the service catalog directory /Users/<myuser>/Library/LaunchAgents exists. On a freshly installed operating system the Java Wrapper installation fails with a totally unnecessary error

Error /Users/xxx/Library/LaunchAgents : is not a directory
************* STARTING ASDF ***********************

Service ASDF NOT started

To avoid this, it requires encapsulation into another wrapper-script to ensure the existence of this directory.

Discussion