Skip to content

Commit

Permalink
Make haproxy run as haproxy user
Browse files Browse the repository at this point in the history
  • Loading branch information
richturner committed Dec 13, 2022
1 parent c8fb5ea commit 7c801a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ run_proxy() {
monitor&

log_info "HAProxy starting"
exec su -s /bin/sh -c "$HAPROXY_CMD $HAPROXY_START_OPTIONS"
exec su haproxy -s /bin/sh -c "$HAPROXY_CMD $HAPROXY_START_OPTIONS"
ret=$?

if [ $ret -ne 0 ]; then
Expand Down

0 comments on commit 7c801a9

Please sign in to comment.