I want to run jar file from Linux terminal using ssh command. for that i am using bellow command
screen -d -m -S minecraft java -jar myfile.jar
[OR] screen java -jar myfile.jar
its running fine upto detach/exit. After that its not working.
How can i achieve will run myfile.jar 24/7 after detach/exit?
Thanks
nohup screen -d -m -S minecraft java -jar myfile.jar
应该可以帮助
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.