I sometimes need a process running in the background. Long ago, I wrote a very simple script which runs a command if not already running. Now, it’s updated for OS/X.
https://github.com/jeffgarrett/scripts/blob/master/runonce