Search code examples
javajakarta-eewildfly-8wildfly-10wildfly-9

Setting up wildfly to start on reboot in ubuntu 16


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


Solution

  • try

    sudo update-rc.d wildfly defaults