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 &
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 ?