Skip to content

Instantly share code, notes, and snippets.

@gdouzwt
Created March 4, 2022 13:07
Show Gist options
  • Save gdouzwt/5678b3d48fbd29a3ad0eed2a551171f4 to your computer and use it in GitHub Desktop.
Save gdouzwt/5678b3d48fbd29a3ad0eed2a551171f4 to your computer and use it in GitHub Desktop.
spring-boot-start-up
#!/bin/bash
#nohup java -jar cockpit.jar -server -Xms2048m -Xmx4096m --spring.profiles.active=pre_yx >> /data/out.log 2>&1 &
nohup java -jar cockpit.jar -server -Xms2048m -Xmx4096m --spring.profiles.active=pre_yx >> /data/temp.log 2>&1 &
echo $! > /data/cockpit/cockpit.pid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment