mirror of
https://github.com/YunoHost-Apps/rocketchat_ynh.git
synced 2024-09-03 20:16:25 +02:00
run npm as user
This commit is contained in:
parent
bf13d9a531
commit
a2ccf1fd76
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ sudo chown -R $serviceuser: $final_path
|
|||
|
||||
cd $final_path/programs/server/
|
||||
|
||||
sudo npm install --production
|
||||
sudo -u $serviceuser npm install --production
|
||||
|
||||
cd $workdir
|
||||
|
||||
|
|
Loading…
Reference in a new issue