Add tellme service
This commit is contained in:
		
							parent
							
								
									522c5d243f
								
							
						
					
					
						commit
						9f4c19fa5f
					
				@ -1,12 +1,10 @@
 | 
				
			|||||||
[Unit]
 | 
					[Unit]
 | 
				
			||||||
Description=CGS Server
 | 
					Description=Simplex TellMe Bot
 | 
				
			||||||
After=network.target
 | 
					After=network.target
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[Service]
 | 
					[Service]
 | 
				
			||||||
User=cgsserver
 | 
					User=tbot
 | 
				
			||||||
WorkingDirectory=/opt/cgs/server
 | 
					ExecStart=/usr/local/bin/simplex-chat -p 5080
 | 
				
			||||||
Environment=FLASK_CONFIG=production
 | 
					 | 
				
			||||||
ExecStart=/opt/cgs/server/venv/bin/gunicorn -b localhost:5000 --preload --workers={{ gunicorn_workers }} --threads={{ gunicorn_threads }} -t {{ gunicorn_timeout }} --access-logfile /var/log/cgsserver/access.log --error-logfile /var/log/cgsserver/error.log app:app
 | 
					 | 
				
			||||||
Restart=always
 | 
					Restart=always
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[Install]
 | 
					[Install]
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user