Now add in the following code to the file - save and exit. Step 1: Create an shell script file using the terminal vim ~/scripts/startup/startup.sh
Any suggestions for a better solution is most welcome.Ī good starting point to get to know about Launch Daemon Process - how to configure, troubleshoot and get some examples can be found here.Ī daemon is a program running in the background without requiring user input. I intend to share my experience relating to adding start up shell scripts to the Launch Daemon on OS X Sierra.
Being new to working on OS X, it has been somewhat confusing to how things work on Mac compared to that on Linux - to be completely honest it has been a painstaking journey while wrapping my head around the differences between the systems.