Wednesday, September 26, 2012

ubuntu 10.04 upstart use other user instead of root

example
exec su -s /bin/sh -c 'exec "$0" "$@" > /tmp/easypaas.log 2>&1' ubuntu -- /home/ubuntu/cloudfoundry/vcap/dev_setup/bin/vcap_dev start

2 comments: