mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add freeze_support on salt-minion script
This commit is contained in:
parent
0fd277b68d
commit
a05911d985
1 changed files with 4 additions and 0 deletions
|
@ -4,7 +4,11 @@ This script is used to kick off a salt minion daemon
|
|||
'''
|
||||
|
||||
from salt.scripts import salt_minion
|
||||
from multiprocessing import freeze_support
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
# This handles the bootstrapping code that is included with frozen
|
||||
# scripts. It is a no-op on unfrozen code.
|
||||
freeze_support()
|
||||
salt_minion()
|
||||
|
|
Loading…
Add table
Reference in a new issue