broken npm, does not work

This commit is contained in:
2023-01-20 09:06:25 +05:00
commit 25988b8259
3 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,13 @@
#!/bin/bash
if ! [ -f /etc/nginx/nginx.conf ]
then cp -r /root/nginx/* /etc/nginx
fi
#Start Nginx
/usr/sbin/nginx -g 'daemon off; master_process on;' &
# Wait for any process to exit
wait -n
# Exit with status of process that exited first
exit $?