Spring Boot’s installation as a service ended up in a perplexing issue.

Following Spring Boot’s service installation process here, we ran into an interesting situation. No matter how many times (yes we rebooted) we couldn’t get init.d to see our jar as a service. A simple but frustrating response was always “unrecognized service”. The symbolic link was there, it ran when manually calling the symbolic link. Peered into the jar, nothing out of the ordinary. It wasn’t until I looked at the folder listing with a “ls -l”. The file was an archive, not an executable.

sudo chmod +x YourApplication.jar