mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-19 05:37:53 +00:00
corrected chown args for repo directory
This commit is contained in:
parent
c8719e8116
commit
37ca7d17e5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user