mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	- do not use conf.d file (specify defaults in init script) - leave usage of supervisor as optional
		
			
				
	
	
		
			15 lines
		
	
	
		
			253 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			253 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/sbin/openrc-run
 | |
| 
 | |
| : ${cfgfile:="/etc/fluent-bit/fluent-bit.conf"}
 | |
| 
 | |
| name=fluent-bit
 | |
| command="/usr/bin/fluent-bit"
 | |
| command_args="-c $cfgfile $fluentbit_opts"
 | |
| command_background="yes"
 | |
| pidfile="/run/fluent-bit.pid"
 | |
| 
 | |
| depend() {
 | |
| 	need net
 | |
| 	after firewall
 | |
| }
 |