mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
syndic upstart: invoke via su so /etc/environment is read
This commit is contained in:
parent
2f1d42638f
commit
f89a3a466c
@ -12,5 +12,6 @@ script
|
||||
# Activate the virtualenv if defined
|
||||
[ -f $SALT_USE_VIRTUALENV/bin/activate ] && . $SALT_USE_VIRTUALENV/bin/activate
|
||||
|
||||
exec salt-syndic
|
||||
end script
|
||||
# invoke salt-syndic via su so that /etc/environment is read
|
||||
exec su -c salt-syndic
|
||||
end script
|
||||
|
Loading…
Reference in New Issue
Block a user