Don't use sudo during configuration script
This commit is contained in:
4
rakefile
4
rakefile
@@ -39,12 +39,12 @@ task :package do
|
||||
set -e
|
||||
set -x
|
||||
|
||||
sudo chown -R makeitso:makeitso #{INSTALL_DIR_PATH}
|
||||
chown -R makeitso:makeitso #{INSTALL_DIR_PATH}
|
||||
|
||||
service gunicorn stop
|
||||
rm -f #{LINK_PATH}
|
||||
ln -s #{INSTALL_DIR_PATH} #{LINK_PATH}
|
||||
sudo chown makeitso:makeitso #{LINK_PATH}
|
||||
chown makeitso:makeitso #{LINK_PATH}
|
||||
service gunicorn start
|
||||
POSTINSTALL
|
||||
postinstall.close()
|
||||
|
||||
Reference in New Issue
Block a user