11 lines
		
	
	
		
			262 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			262 B
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/env ssm
 | |
| 
 | |
| privoxy_username='privoxy'
 | |
| privoxy_configfile='/etc/privoxy/config'
 | |
| 
 | |
| service_command=( /usr/bin/privoxy --no-daemon --user "$privoxy_username" "$privoxy_configfile" )
 | |
| 
 | |
| pre_restart() {
 | |
| 	"$service_command" --config-test "$privoxy_configfile"
 | |
| }
 |