Daemonizing Salt Minion on MacOS
-
MacOS always requires a few more steps than other platforms.
Once you have a salt-minion installed, you can set it to be treated as a daemon with this command:
sudo curl -L https://raw.githubusercontent.com/saltstack/salt/develop/pkg/darwin/com.saltstack.salt.minion.plist -o /Library/LaunchDaemons/com.saltstack.salt.minion.plist
Then you can start (load) or stop (unload) with the launchctl utility.
sudo launchctl load -w /Library/LaunchDaemons/com.saltstack.salt.minion.plist sudo launchctl unload /Library/LaunchDaemons/com.saltstack.salt.minion.plist