broken npm, does not work
This commit is contained in:
		
							
								
								
									
										13
									
								
								buildfiles/startservice.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								buildfiles/startservice.sh
									
									
									
									
									
										Normal 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 $? | ||||
		Reference in New Issue
	
	Block a user