Replaced bash-specific redirections.
This commit is contained in:
		
							parent
							
								
									18e0b9c29c
								
							
						
					
					
						commit
						8d187d9acf
					
				|  | @ -42,7 +42,7 @@ case "$1" in | |||
|     SSDOPTS="--quiet --oknodo --background --no-close --make-pidfile --pidfile $PIDFILE --chuid $USER:$GROUP --exec $DAEMON" | ||||
|     DAEMON_ARGS="$URL $BASE $BIND_DN $BIND_PASS $COOKIE $FILTER $REALM" | ||||
| 
 | ||||
| 	if start-stop-daemon --start $SSDOPTS -- $DAEMON_ARGS &>$LOG | ||||
| 	if start-stop-daemon --start $SSDOPTS -- $DAEMON_ARGS > $LOG 2>&1 | ||||
| 	then | ||||
| 		echo "$NAME." | ||||
| 	else | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| #!/bin/sh | ||||
| ''''which python2 >/dev/null && exec python2 -u "$0" "$@" &>>$LOG # ''' | ||||
| ''''which python  >/dev/null && exec python  -u "$0" "$@" &>>$LOG # ''' | ||||
| ''''which python2 >/dev/null && exec python2 -u "$0" "$@" >> $LOG 2>&1 # ''' | ||||
| ''''which python  >/dev/null && exec python  -u "$0" "$@" >> $LOG 2>&1 # ''' | ||||
| 
 | ||||
| # Copyright (C) 2014-2015 Nginx, Inc. | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue