Added (Linux) file monitor configuration to Fabric script.
Also improved `create_user` to allow overwriting some settings.
This commit is contained in:
		
							parent
							
								
									a732804911
								
							
						
					
					
						commit
						331f775512
					
				
					 4 changed files with 247 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								data/etc/default/rattail
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								data/etc/default/rattail
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,4 @@ | |||
| # The following settings affect all Rattail daemons. | ||||
| 
 | ||||
| USER=rattail | ||||
| GROUP=rattail | ||||
							
								
								
									
										19
									
								
								data/etc/init.d/rattail-filemon_tmpl
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										19
									
								
								data/etc/init.d/rattail-filemon_tmpl
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,19 @@ | |||
| #! /bin/sh | ||||
| ### BEGIN INIT INFO | ||||
| # Provides:          %(name)s | ||||
| # Required-Start:    $remote_fs $syslog | ||||
| # Required-Stop:     $remote_fs $syslog | ||||
| # Default-Start:     2 3 4 5 | ||||
| # Default-Stop:      0 1 6 | ||||
| # Short-Description: %(desc)s | ||||
| # Description:       Manages the %(desc)s daemon. | ||||
| ### END INIT INFO | ||||
| 
 | ||||
| DESC="%(desc)s" | ||||
| NAME=%(name)s | ||||
| 
 | ||||
| PYTHON=%(envdir)s/bin/python | ||||
| RATTAIL=%(envdir)s/bin/rattail | ||||
| RATTAIL_ARGS="--config=%(envdir)s/app/filemon.ini" | ||||
| 
 | ||||
| . /var/lib/rattail/init.d/filemon | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar