Created
July 17, 2019 02:42
-
-
Save leewin12/11a206b13d6bbce2d1040df54cf899d9 to your computer and use it in GitHub Desktop.
jvm config and nohup without nohup.out
This file contains 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
nohup java -jar {{ jvm_config }} -verbose:gc -XX:+UseG1GC -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:MetaspaceSize=100M -XX:MaxMetaspaceSize=100M -Xloggc:logs/gc.log -XX:NumberOfGCLogFiles=4 -XX:GCLogFileSize=1M -XX:+UseGCLogFileRotation -Dspring.profiles.active={{ BUILD_PROFILE }} -Dfile.encoding=utf-8 {{ project_name }}.jar 1>/dev/null 2> >(exec nohup logger -t {{ project_name }}) & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment