I have a Raspberry PI running Raspbian. I use Apache to host my web site. I use Pelican to generate the site content. I can log in to my PI via SSH, navigate to the directory where the source files are stored in markdown format and issue the following command :
pelican content -r -s publishconf.py
This will keep Pelican running and watching for changes, which is great as I can now upload new articles and my site is updated automatically.
I'd like this command to be run at system startup, in case I ever need to reboot. What is the simplest way that I achieve that?