ubuntu - Log file not updating when I run my java app as a service -


i not in ubuntu , have problem. have java+spring app works perfect , writes log file in app directory when run as:

sudo java -jar myapp.jar & 

but want run service i'd googled , did here app works fine, log file has no update anymore. me, please. thank you!

you need provide more info on how running program "as service" , how you're creating/opening log file in program. if you're creating log file in current working folder start script starting program in other folder you're not looking or not have permission write.


Comments