mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +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