title: startup scripts for amazon linux ami
body: <p><br>
  I'm trying to start a script every time I start my amazon micro instance (amazon linux ami).
  I tried to put it in /etc/init.d/ and linkted it to /etc/rc.d/ but the script is not executed.<br>
  I've also looked at user-data scripts, but as I understand the documentation they are only executed on the first startup of the instance. <br>
  What do I have to do to run my script on every startup?</p>