mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
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:
parent
d49b3dcf1b
commit
1e7468a08c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user