corrected chown args for repo directory

This commit is contained in:
Spyros Ligouras 2013-07-17 16:40:07 +03:00
parent c8719e8116
commit 37ca7d17e5

View File

@ -19,9 +19,10 @@ yaourt --noconfirm --sync heroku-toolbelt > /dev/null
# node app setup
cd /home/haki && git clone git@bitbucket.org:rulemotion/$REPO.git
cd /home/haki && chown -R haki $REPO
cd /home/haki && chown -R haki:haki $REPO
cd /home/haki/$REPO && sudo -u haki npm install
# system service setup
ln -sf /home/haki/$REPO/scripts/haki.service /etc/systemd/system/haki.service
cp /home/haki/$REPO/scripts/haki.service /etc/systemd/system/haki.service
systemctl enable haki
systemctl start haki