title: Debian : my service doesn't autostart
body: <p>I'm using debian 7 x64, I want to add a service autostart at boot but it doesn't work.</p>
  
  <p>The command : "update-rc.d  defaults" works good and return me : update-rc.d: using dependency based boot sequencing</p>
  
  <p>My script working when I use the command : service  start/stop
  But when I restart the computer, the service is down.</p>
  
  <p>My script start by :</p>
  
  <pre><code>### BEGIN INIT INFO
  # Provides:          scriptname
  # Required-Start:    $remote_fs $syslog
  # Required-Stop:     $remote_fs $syslog
  # Default-Start:     2 3 4 5
  # Default-Stop:      0 1 6
  # Short-Description: Start daemon at boot time
  # Description:       Enable service provided by daemon.
  ### END INIT INFO
  </code></pre>
  
  <p>I don't understand what is wrong ?</p>
  
  <p>Edit :</p>
  
  <p>I tried another way for my script, I looked at this example : <a href="http://doc.ubuntu-fr.org/tutoriel/comment_transformer_un_programme_en_service" rel="nofollow">http://doc.ubuntu-fr.org/tutoriel/comment_transformer_un_programme_en_service</a> and it works great. Always don't understand why the other way didn't work. Whatever it's good for me now, thank you for helping.</p>