mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			404 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			404 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| #!/sbin/openrc-run
 | |
| 
 | |
| # munin-node init.d file for alpine linux.
 | |
| 
 | |
| name=munin-node
 | |
| 
 | |
| pidfile=/run/munin/${name}.pid
 | |
| 
 | |
| command=/usr/sbin/munin-node
 | |
| command_args="${EXTRA_OPTS}"
 | |
| command_background="no"
 | |
| 
 | |
| depend() {
 | |
| 	need net
 | |
| 	after firewall
 | |
| }
 | |
| 
 | |
| start_pre() {
 | |
| 	checkpath -d -o munin:munin -m755 /run/munin
 | |
| 	checkpath -d -o munin:munin -m755 /var/lib/munin/spool
 | |
| 	checkpath -d -o munin:munin -m755 /var/log/munin
 | |
| }
 |