syndic upstart: invoke via su so /etc/environment is read

This commit is contained in:
Matthew Williams 2013-12-04 19:17:01 -08:00
parent 2f1d42638f
commit f89a3a466c

View File

@ -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