We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just sharing my setup experience:
bin/tjwserv
description "tjwserv" start on (local-filesystems and net-device-up IFACE!=lo) stop on runlevel [!2345] env HOME=/home/user setuid "user" setgid "user" exec /opt/tjws/bin/tjwserv.sh respawn
bin/tjwserv.sh
#!/bin/bash RETVAL=0; JDK_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::") tjws=/opt/tjws cp=$tjws/lib/javax.servlet.jar:$tjws/lib/war.jar:$tjws/lib/webserver.jar:$tjws/lib/app.jar:$tjws/lib/class-scanner.jar:$tjws/lib/wskt.jar:$tjws/lib/javax.websocket-client-api.jar:$tjws/lib/javax.websocket-server-api.jar:$tjws/lib/jsp.jar:$tjws/lib/jasper.jar:$JDK_HOME/lib/tools.jar log=/var/log/tjws webapps=/usr/share/java/webapps tjws_cmd=$JDK_HOME/bin/java\ -cp\ $cp\ -Dtjws.webappdir=$tjws/webapps\ -Dtjws.wardeploy.dynamically\ -Dorg.slf4j.simpleLogger.defaultLogLevel=DEBUG\ rogatkin.app.Main\ -nohup\ -a\ $tjws/aliases\ -p\ 8011\ -l\ -c\ cgi-bin\ -d\ $log\ -g\ 10000\ -acceptorImpl\ Acme.Serve.SelectorAcceptor $tjws_cmd exit $RETVAL
Installation and Configuration
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Just sharing my setup experience:
bin/tjwserv
bin/tjwserv.sh
Installation and Configuration
The text was updated successfully, but these errors were encountered: