Added default redirection destination to /dev/stdout.
When a nginx-ldap-auth-daemon.py is executed from console, its output is set to /dev/stdout by default. Otherwise, value of a 'LOG' variable is used, exported by wrapper script.
This commit is contained in:
		
							parent
							
								
									8d187d9acf
								
							
						
					
					
						commit
						37be5adf9c
					
				|  | @ -1,4 +1,5 @@ | |||
| #!/bin/sh | ||||
| ''''[ -z $LOG ] && export LOG=/dev/stdout # ''' | ||||
| ''''which python2 >/dev/null && exec python2 -u "$0" "$@" >> $LOG 2>&1 # ''' | ||||
| ''''which python  >/dev/null && exec python  -u "$0" "$@" >> $LOG 2>&1 # ''' | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue