mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Remove "su -c" from upstart scripts
This commit is contained in:
parent
95ade395d6
commit
31d7d327be
6 changed files with 6 additions and 12 deletions
|
@ -13,6 +13,5 @@ script
|
|||
# Activate the virtualenv if defined
|
||||
[ -f $SALT_USE_VIRTUALENV/bin/activate ] && . $SALT_USE_VIRTUALENV/bin/activate
|
||||
|
||||
# invoke salt-master via su so that /etc/environment is read
|
||||
exec su -c salt-master
|
||||
exec salt-master
|
||||
end script
|
||||
|
|
|
@ -11,6 +11,5 @@ script
|
|||
# Activate the virtualenv if defined
|
||||
[ -f $SALT_USE_VIRTUALENV/bin/activate ] && . $SALT_USE_VIRTUALENV/bin/activate
|
||||
|
||||
# invoke salt-master via su so that /etc/environment is read
|
||||
exec su -c salt-master
|
||||
exec salt-master
|
||||
end script
|
||||
|
|
|
@ -19,6 +19,5 @@ script
|
|||
# Activate the virtualenv if defined
|
||||
[ -f $SALT_USE_VIRTUALENV/bin/activate ] && . $SALT_USE_VIRTUALENV/bin/activate
|
||||
|
||||
# invoke salt-minion via su so that /etc/environment is read
|
||||
exec su -c salt-minion
|
||||
exec salt-minion
|
||||
end script
|
||||
|
|
|
@ -17,6 +17,5 @@ script
|
|||
# Activate the virtualenv if defined
|
||||
[ -f $SALT_USE_VIRTUALENV/bin/activate ] && . $SALT_USE_VIRTUALENV/bin/activate
|
||||
|
||||
# invoke salt-minion via su so that /etc/environment is read
|
||||
exec su -c salt-minion
|
||||
exec salt-minion
|
||||
end script
|
||||
|
|
|
@ -12,6 +12,5 @@ script
|
|||
# Activate the virtualenv if defined
|
||||
[ -f $SALT_USE_VIRTUALENV/bin/activate ] && . $SALT_USE_VIRTUALENV/bin/activate
|
||||
|
||||
# invoke salt-syndic via su so that /etc/environment is read
|
||||
exec su -c salt-syndic
|
||||
exec salt-syndic
|
||||
end script
|
||||
|
|
|
@ -10,6 +10,5 @@ script
|
|||
# Activate the virtualenv if defined
|
||||
[ -f $SALT_USE_VIRTUALENV/bin/activate ] && . $SALT_USE_VIRTUALENV/bin/activate
|
||||
|
||||
# invoke salt-syndic via su so that /etc/environment is read
|
||||
exec su -c salt-syndic
|
||||
exec salt-syndic
|
||||
end script
|
||||
|
|
Loading…
Add table
Reference in a new issue