Add stdout and systemd service file, change drone ci file
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		
							
								
								
									
										14
									
								
								tox_bot.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								tox_bot.service
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=Tox bot
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
Type=simple
 | 
			
		||||
WorkingDirectory=/home/tox/tox_bot
 | 
			
		||||
ExecStart=/home/tox/tox_bot/echo_bot
 | 
			
		||||
StandardOutput=append:/home/tox/tox_bot/echo_bot.log
 | 
			
		||||
StandardError=append:/home/tox/tox_bot/echo_bot.log
 | 
			
		||||
User=tox
 | 
			
		||||
Restart=on-failure
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=multi-user.target
 | 
			
		||||
		Reference in New Issue
	
	Block a user