I am trying to run a faceless server application using a project associated with it using a shell script in OSX 10.10.4.
The shell script is installed in an executable file.
When starting up, nothing happens to start Wakanda \ Server.app/Contents/MacOS/Wakanda \ Server.
Please help me do this work.
The shell script is located at:
Macintosh HD:Library:StartupItems:DispatchStartup:DispatchStartup.sh
The contents of this shell script:
#!/bin/sh . /etc/rc.common
// --------------------------------------------- --- -------------------
// next to the shell script is StartParameters.plist // -------------------------------------- ---------- --------------------
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd"> <plist version="0.9"> <dict> <key>Description</key> <string>Wakanda Server</string> <key>OrderPreference</key> <string>Late</string> <key>Provides</key> <array> <string>Web service to database and objects</string> </array> <key>Uses</key> <array> <string>Network</string> </array> </dict> </plist>
source share