This commit is contained in:
		@@ -118,13 +118,17 @@ write_files:
 | 
				
			|||||||
      DEBUG=1
 | 
					      DEBUG=1
 | 
				
			||||||
      CACHE=diskcache
 | 
					      CACHE=diskcache
 | 
				
			||||||
      CACHE_SIZE=1073741824
 | 
					      CACHE_SIZE=1073741824
 | 
				
			||||||
 | 
					  - path: /var/lib/cloud/scripts/per-boot/morss.sh
 | 
				
			||||||
 | 
					    permissions: 744
 | 
				
			||||||
 | 
					    content: |
 | 
				
			||||||
 | 
					      #!/bin/sh
 | 
				
			||||||
 | 
					      gunicorn --bind 0.0.0.0:${PORT:-8000} ${GUNICORN} --preload --access-logfile - --daemon morss
 | 
				
			||||||
 | 
					
 | 
				
			||||||
runcmd:
 | 
					runcmd:
 | 
				
			||||||
  - update-ca-certificates
 | 
					  - update-ca-certificates
 | 
				
			||||||
  - iptables -I INPUT 6 -m state --state NEW -p tcp --dport {PORT:-8000} -j ACCEPT
 | 
					  - iptables -I INPUT 6 -m state --state NEW -p tcp --dport {PORT:-8000} -j ACCEPT
 | 
				
			||||||
  - netfilter-persistent save
 | 
					  - netfilter-persistent save
 | 
				
			||||||
  - pip install git+https://git.pictuga.com/pictuga/morss.git#egg=morss[full]
 | 
					  - pip install git+https://git.pictuga.com/pictuga/morss.git#egg=morss[full]
 | 
				
			||||||
  - gunicorn --bind 0.0.0.0:${PORT:-8000} ${GUNICORN} --preload --access-logfile - morss
 | 
					 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Run
 | 
					## Run
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user