mirror of
				https://github.com/taigrr/godns
				synced 2025-01-18 04:03:25 -08:00 
			
		
		
		
	Add upstart config file, to run godns as a daemon via upstart
This commit is contained in:
		
							parent
							
								
									24d26c94be
								
							
						
					
					
						commit
						a72061eb87
					
				
							
								
								
									
										13
									
								
								upstart/godns.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								upstart/godns.conf
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,13 @@ | ||||
| description "GoDNS daemon" | ||||
| 
 | ||||
| start on (local-filesystems and net-device-up IFACE!=lo) | ||||
| 
 | ||||
| kill signal TERM | ||||
| kill timeout 60 | ||||
| 
 | ||||
| setuid your-username | ||||
| setgid your-username | ||||
| 
 | ||||
| respawn | ||||
| 
 | ||||
| exec /path/to/your/godns-repo/godns -c /path/to/your/godns-repo/config.json | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user