title: Start gpsd service at reboot
body: <p>I am using a GPS hat from adafruit. </p>
  
  <p>According to the document </p>
  
  <blockquote>
    <p>Start gpsd and direct it to use HW UART. Simply entering the following
    command:</p>
    
    <p>sudo gpsd /dev/ttyAMA0 -F /var/run/gpsd.sock</p>
  </blockquote>
  
  <p>While this does in fact work, I am trying to find a way to automatically call this on a reboot. I've tried putting it in a .py file and calling it when the machine restarts in a cronjob but that doesn't work. (Invalid Syntax). Hoping I could be assisted in accomplishing this.</p>
  
  <p>Thank you </p>