Disable master, syndic, and api in postinstall

I tried doing this through the plist files but no matter
what I did they would still start
This commit is contained in:
twangboy 2016-02-04 15:48:23 -07:00
parent d49b3dcf1b
commit 1e7468a08c

View File

@ -53,6 +53,12 @@ fi
echo "Service start: Successful" >> /tmp/postinstall.txt
echo "Service disable: Disabling Master, Syndic, and API" >> /tmp/postinstall.txt
launchctl disable system/com.saltstack.salt.master
launchctl disable system/com.saltstack.salt.syndic
launchctl disable system/com.saltstack.salt.api
echo "Post install completed successfully" >> /tmp/postinstall.txt
exit 0