title: Run bash script as daemon
body: <p>I have a script, which runs my PHP script each X times:</p>
  
  <pre><code>#!/bin/bash
  while true; do
  /usr/bin/php -f ./my-script.php
  echo "Waiting..."
  sleep 3
  done
  </code></pre>
  
  <p>How can I start it as daemon?</p>