add --name example to manpage
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								b8002efa6d
							
						
					
				
			
			
				commit
				
					
						271aa95a4d
					
				
			
		
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -46,6 +46,11 @@ __process /usr/sbin/sshd --state stopped | ||||||
| 
 | 
 | ||||||
| # Stop the process using /etc/rc.d/sshd stop | # Stop the process using /etc/rc.d/sshd stop | ||||||
| __process /usr/sbin/sshd --state stopped --stop "/etc/rc.d/sshd stop" | __process /usr/sbin/sshd --state stopped --stop "/etc/rc.d/sshd stop" | ||||||
|  | 
 | ||||||
|  | # Ensure cups is running, which runs with -C ...: | ||||||
|  | __process cups --start "/etc/rc.d/cups start" --state running \ | ||||||
|  |    --name "/usr/sbin/cupsd -C /etc/cups/cupsd.conf" | ||||||
|  | 
 | ||||||
| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue