update doc of __process: cannot start sshd, shouldn't stop sshd
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								37d4ecd907
							
						
					
				
			
			
				commit
				
					
						41ee512596
					
				
			
		
					 1 changed files with 6 additions and 6 deletions
				
			
		|  | @ -35,16 +35,16 @@ EXAMPLES | ||||||
| -------- | -------- | ||||||
| 
 | 
 | ||||||
| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||||||
| # Start /usr/sbin/sshd if not running | # Start if not running | ||||||
| __process /usr/sbin/sshd --state running | __process /usr/sbin/syslog-ng --state running | ||||||
| 
 | 
 | ||||||
| # Start /usr/sbin/sshd if not running with a different binary | # Start if not running with a different binary | ||||||
| __process /usr/sbin/sshd --state running --start "/etc/rc.d/sshd start" | __process /usr/sbin/nginx --state running --start "/etc/rc.d/nginx start" | ||||||
| 
 | 
 | ||||||
| # Stop the process using kill (the type default) | # Stop the process using kill (the type default) - DO NOT USE THIS | ||||||
| __process /usr/sbin/sshd --state stopped | __process /usr/sbin/sshd --state stopped | ||||||
| 
 | 
 | ||||||
| # Stop the process using /etc/rc.d/sshd stop | # Stop the process using /etc/rc.d/sshd stop - THIS ONE NOT AS WELL | ||||||
| __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 ...: | # Ensure cups is running, which runs with -C ...: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue