1
I'm running the latest Sierra version, and every time I reboot I need to execute
mysql.server start
I'd like to simply add this command to a startup script, but I've spent an hour looking at setting up daemons, etc, but I feel like it shouldn't be that difficult.
Is there an easy way to put this in some sort of startup script so every time I start my macbook it's run in the background?
Any help would be appreciated!
thanks for the response, the Login Items sounds like an easy thing, I added a .sh script but it doesn't seem to run when I login, any ideas? – Mark Kadlec – 2017-02-27T18:32:42.457
1@MarkKadlec A few ideas: Make sure you've
chmod
ed the script to be executable. Try renaming themyscript.sh
tomyscript.command
. Make sure it opens up Terminal and runs when you double-click it from the Finder. – Spiff – 2017-02-27T22:16:38.880Changing to .command seems to have fixed this! – Mark Kadlec – 2017-03-02T20:31:50.017