I followed the spring boot reference guide for installation of service as init.d service but it does not seem to work. Any idea what may be going wrong here?
Ubuntu host on AWS
$ cat /etc/issue
Ubuntu 14.04.3 LTS \n \l
Installed the application as init.d service using symlink as per reference document
$ sudo ln -s /opt/services/account-history-service/account-history-service-0.0.1-217782-SNAPSHOT.jar /etc/init.d/account-history-service
$ sudo /etc/init.d/account-history-service status
sudo: /etc/init.d/account-history-service: command not found
$ sudo chmod +x /etc/init.d/account-history-service
Tried start but it failed with below error
$ sudo /etc/init.d/account-history-service start
/etc/init.d/account-history-service: 1: /etc/init.d/account-history-service: Syntax error: "(" unexpected
Any idea what may be wrong? Is this version of ubuntu not supported?