add another example for __process
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								c7d0d581b1
							
						
					
				
			
			
				commit
				
					
						98ff723b24
					
				
			
		
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -50,6 +50,10 @@ __process /usr/sbin/sshd --state stopped --stop "/etc/rc.d/sshd stop"
 | 
				
			||||||
# Ensure cups is running, which runs with -C ...:
 | 
					# Ensure cups is running, which runs with -C ...:
 | 
				
			||||||
__process cups --start "/etc/rc.d/cups start" --state running \
 | 
					__process cups --start "/etc/rc.d/cups start" --state running \
 | 
				
			||||||
   --name "/usr/sbin/cupsd -C /etc/cups/cupsd.conf"
 | 
					   --name "/usr/sbin/cupsd -C /etc/cups/cupsd.conf"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Ensure rpc.statd is running (which usually runs with -L) using a regexp
 | 
				
			||||||
 | 
					__process rpcstatd --state running --start "/etc/init.d/statd start" \
 | 
				
			||||||
 | 
					    --name "rpc.statd.*"
 | 
				
			||||||
--------------------------------------------------------------------------------
 | 
					--------------------------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue