changed path while creating password

This commit is contained in:
anmol26s 2018-09-30 20:33:59 +05:30
parent c5f52078fe
commit d14daaffd9

View file

@ -231,7 +231,7 @@ systemctl start "$app"
(
cd "$final_path"
sleep 30
echo $admin_pass | NODE_CONFIG_DIR="$final_path/config" NODE_ENV=production PATH="/usr/bin/npm:$PATH" npm run reset-password -- -u root
echo $admin_pass | NODE_CONFIG_DIR="$final_path/config" NODE_ENV=production /usr/bin/npm run reset-password -- -u root
)
#=================================================