- Jun 6, 2020
- 11,559
- 4,422
Hi, All
How to make sure that app is autostarted undex Linux ?
Tried to use crontab - does not start after reboot.
App is started with nohup by this above command only if to start manually from the app folder.
Ubuntu 22.04 server VPS (not desktop), if important.
SUDO before command does not help also.
Any suggestions ?
How to make sure that app is autostarted undex Linux ?
Tried to use crontab - does not start after reboot.
crontab -e
@reboot nohup /var/www/project/data/www/project/jdk-14.0.1/bin/java -jar /var/www/project/data/www/project/result.jar > nohup.out &
Click to expand...
App is started with nohup by this above command only if to start manually from the app folder.
Ubuntu 22.04 server VPS (not desktop), if important.
SUDO before command does not help also.
Any suggestions ?
برای دیدن لینک ها باید ثبت نام کنید