当前位置:网站首页>Jar package background startup and log output
Jar package background startup and log output
2022-06-29 18:04:00 【Full stack programmer webmaster】
We deploy the project in the server ,jar The package needs to be started in the background , Not because of you Ctrl+c And end the process , And you close the terminal and end the process ! Format :
nohup java -jar JarName > JarName.log &nohup … & # The process can be started in the background , The same applies to many kinds of program startup jar When the package starts in the background, you need to put your startup command into it You can also restart jar Add other parameters to the package for example :
nohup java -Duser.timezone=GMT+8 -Dfile.encoding=utf-8 -Xms1024m -Xmx1024m -Djava.io.tmpdir=$DATA_DIR/tmp -jar $DATA_DIR"/"$JAR &Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/101815.html Link to the original text :https://javaforall.cn
边栏推荐
- Bloom filter:
- Kubekey2.2.1 kubernetes1.23.7 offline package production +harbor Department summer and upload image
- 填充每个节点的下一个右侧节点指针[利用好每个点->尽可能降低时空复杂度]
- 3H proficient in opencv (VIII) - shape detection
- Proxmox VE Install 7.2
- 最长异或路径(dfs+01trie)
- Mongotemplate - distinct use
- Selenium upload file
- phpunit骚操作之静态类的部分mock
- Have you grasped the most frequently asked question in the interview about massive data processing?
猜你喜欢

国内酒店交易DDD应用与实践——理论篇
![[target tracking] |stark configuration win OTB](/img/29/a6b3b99b7d2349499aede9e76ab29a.png)
[target tracking] |stark configuration win OTB

How QQ opens online customer service

MATLAB 最远点采样(FPS)

Premature end of script headers 或 End of script output before headers

第42期:MySQL 是否有必要多列分区

Detailed introduction and Simulation of bitmap

2022 spring summer collection koreano essential reshapes the vitality of fashion

Distributed | several steps of rapid read / write separation
![Split palindrome string [dp + DFS combination]](/img/7b/221b000984977508f849e19802c2c2.png)
Split palindrome string [dp + DFS combination]
随机推荐
Web Scraping with Beautiful Soup for Data Scientist
Prevent form resubmission based on annotations and interceptors
MySQL数据库每日备份并定时清理脚本
ISO 32000-2 international standard 7.7
测试dble split功能执行+导入耗时shell脚本参考
Selenium upload file
布隆过滤器:
Visio标注、批注位置
It's really easy to make money in foreign lead and build a website
Test dble split function execution + import time-consuming shell script reference
PWM output experiment based on stm32f103zet6 library function
Premature end of script headers 或 End of script output before headers
Let's start with a bug that was cheated by the app store
MySql存储过程循环的使用分析详解
mongoTemplate - distinct 使用
Createstore for Redux source code analysis
【目标跟踪】|stark配置 win otb
Lodash deep copy usage
Bloom filter:
Inherit Chinese virtues, pay attention to the health of the middle-aged and the elderly, and Yurun milk powder has strong respect for the elderly