I have a droplet. and I want run my scripts when droplet restarted. screen java -jar path/to/myjar.jar —server.port=8080 screen java -jar path/to/myjar.jar …

Ubuntu VPS Hosting via How to automatic run scripts when restart droplet. – UBUNTU 18.04.