what's the best way to get etherpad to launch on startup on OSX
I think launchd is the answer, but using this plist:
http://gist.github.com/553573
I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError: net/appjet/oui/main
Caused by: java.lang.ClassNotFoundException: net.appjet.oui.main
at java.net.URLClassLoader$1.run(URLClassLo开发者_运维知识库ader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
...
Any ideas?
Classpath problems perhaps? The script /usr/local/etherpad/trunk/etherpad/bin/run-local.sh is supposed to be started from a specific directory (path). Try editing your copy to start with a cd command to go the right folder just before it creates subfolders data/appjet.
精彩评论