Created
February 9, 2016 12:08
-
-
Save jarryDk/e48ebe01f6b42ae9b52b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# | |
# We want Wildfly to lisen on port 443 (yes - one below port 1024) | |
# | |
# http://wildfly-development.1055759.n5.nabble.com/Using-Wildfly-as-a-load-balancer-tt5715464.html#a5715482 | |
# | |
# sudo setcap cap_net_bind_service=+epi $JAVA_HOME/bin/java | |
# sudo setcap cap_net_bind_service=+epi $JAVA_HOME/jre/bin/java | |
# | |
# sudo echo $JAVA_HOME/jre/lib/amd64/jli/libjli.so > /etc/ld.so.conf.d/libjli.conf | |
# or (not as nice) | |
# sudo cp $JAVA_HOME/jre/lib/amd64/jli/libjli.so $JAVA_HOME/jre/lib/amd64/libjli.so | |
# | |
# Hint : | |
# https://gist.github.com/jarryDk/cc192f0526cd8acedf7f#file-setting-up-ssltls-with-wildfly-10-sh | |
# | |
[Unit] | |
Description=WildFly TLS | |
After=network.target | |
[Service] | |
Type=simple | |
User=mni | |
Group=mni | |
Restart=always | |
ExecStart=/opt/wildfly/wildfly-10.0.0.Final-TLS/bin/standalone.sh -c standalone-full.xml | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment