~mariusko/charms/precise/node-app/lp1130092_update_support_for_user_application

« back to all changes in this revision

Viewing changes to hooks/config-changed

  • Committer: Marius B. Kotsbak
  • Date: 2013-02-22 10:36:26 UTC
  • Revision ID: marius@kotsbak.com-20130222103626-6w559jiby8s6beys
Run "npm install" agin after update in case new nodejs dependencies are introduced.

Also fix the file owners again.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
   git pull origin && git checkout $app_branch
30
30
fi
31
31
 
 
32
npm update && npm install
 
33
 
 
34
chown -Rf ${app_user}.${app_user} ${app_dir}
 
35
 
32
36
service ${app_name} restart