Setting up wildfly to start on reboot in ubuntu 16

169 views Asked by At

Setting up wildfly to start on reboot in ubuntu 16 by executing:

sudo update-rc.d /etc/init.d/wildfly defaults

gives the following error:

update-rc.d: error: initscript does not exist: /etc/init.d//etc/init.d/wildfly

what could be the reason

1

There are 1 answers

0
stream28 On BEST ANSWER

try

sudo update-rc.d wildfly defaults