aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docker/frontend/cmd.sh
blob: 4a769f6730e2da19c960a8afa13d13d1c425f538 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash

set -o errexit -o nounset -o pipefail

spawn-fcgi \
    -u nginx \
    -g nginx \
    -M 0755 \
    -F 10 \
    -s /run/fcgiwrap.sock \
    /usr/sbin/fcgiwrap

exec nginx -g 'daemon off;'