title: debian init.d script not running after reboot
body: <p>I need to start my Wildfly AS through .sh script after system boot (Linux-Debian). So I created my own script which should do it in init.d:</p>
  
  <pre><code>#! /bin/sh
  # /etc/init.d/starter
  
  case "$1" in
    start)
      echo "Starting"
      nohup /home/xxx/wildfly-9.0.1.Final/bin/standalone.sh &amp;
      ;;
    stop)
      echo "Stopping"
      /home/xxx/wildfly-9.0.1.Final/bin/jboss-cli.sh --connect command=:shutdown
      ;;
    *)
      echo "Usage: /etc/init.d/starter {start|stop}"
      exit 1
      ;;
  esac
  exit 0
  </code></pre>
  
  <p>This <strong>works</strong> if i use it on my own: <code>/etc/init.d/starter start</code>.</p>
  
  <p>Then I used command to create symlinks: <code>update-rc.d starter defaults</code>. Symlinks are created just as expected, however after <code>reboot</code> command the script is not executed.</p>
  
  <p>Does someone knows what prevents my script from being executed after boot? Thank you for all your advices.</p>