mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +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
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue