mirror of https://github.com/tteck/Proxmox.git
				
				
				
			Compare commits
	
		
			No commits in common. "5f34c2c7c892da46a902853f7c1640243a2c6133" and "6a02ba1335d9eb81b2c2cee19d2aad20df5e383b" have entirely different histories.
		
	
	
		
			5f34c2c7c8
			...
			6a02ba1335
		
	
		| 
						 | 
					@ -144,7 +144,7 @@ Environment=NODE_ENV=production
 | 
				
			||||||
Environment=PORT=3000
 | 
					Environment=PORT=3000
 | 
				
			||||||
Environment=WORKSPACE_DIR=/opt/browserless/workspace
 | 
					Environment=WORKSPACE_DIR=/opt/browserless/workspace
 | 
				
			||||||
WorkingDirectory=/opt/browserless
 | 
					WorkingDirectory=/opt/browserless
 | 
				
			||||||
ExecStart=/opt/browserless/scripts/start.sh
 | 
					ExecStart=/opt/browserless/start.sh
 | 
				
			||||||
SyslogIdentifier=browserless
 | 
					SyslogIdentifier=browserless
 | 
				
			||||||
[Install]
 | 
					[Install]
 | 
				
			||||||
WantedBy=default.target
 | 
					WantedBy=default.target
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -39,8 +39,8 @@ msg_ok "Installed Node.js"
 | 
				
			||||||
msg_info "Setting up PostgreSQL"
 | 
					msg_info "Setting up PostgreSQL"
 | 
				
			||||||
DB_NAME=ziplinedb
 | 
					DB_NAME=ziplinedb
 | 
				
			||||||
DB_USER=zipline
 | 
					DB_USER=zipline
 | 
				
			||||||
DB_PASS="$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | cut -c1-13)"
 | 
					DB_PASS="$(openssl rand -base64 18 | cut -c1-13)"
 | 
				
			||||||
SECRET_KEY="$(openssl rand -base64 32 | tr -dc 'a-zA-Z0-9' | cut -c1-13)"
 | 
					SECRET_KEY="$(openssl rand -base64 32 | cut -c1-24)"
 | 
				
			||||||
$STD sudo -u postgres psql -c "CREATE ROLE $DB_USER WITH LOGIN PASSWORD '$DB_PASS';"
 | 
					$STD sudo -u postgres psql -c "CREATE ROLE $DB_USER WITH LOGIN PASSWORD '$DB_PASS';"
 | 
				
			||||||
$STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER ENCODING 'UTF8' TEMPLATE template0;"
 | 
					$STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER ENCODING 'UTF8' TEMPLATE template0;"
 | 
				
			||||||
$STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET client_encoding TO 'utf8';"
 | 
					$STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET client_encoding TO 'utf8';"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue