From f89a3a466ca4fe8c4f0ec7027da0f4bb2e4af84a Mon Sep 17 00:00:00 2001 From: Matthew Williams Date: Wed, 4 Dec 2013 19:17:01 -0800 Subject: [PATCH] syndic upstart: invoke via su so /etc/environment is read --- pkg/salt-syndic.upstart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/salt-syndic.upstart b/pkg/salt-syndic.upstart index 08c04707b6..07b995e1c0 100644 --- a/pkg/salt-syndic.upstart +++ b/pkg/salt-syndic.upstart @@ -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 \ No newline at end of file + # invoke salt-syndic via su so that /etc/environment is read + exec su -c salt-syndic +end script