aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/docker/frontend/cmd.sh
blob: 4813c4f441e24a15dacd395f122d50635f279dd8 (plain) (tree)
1
2
3
4
5
6
7
         
 
      
 


                                                                     





                           
                     

                           
#!/bin/sh

set -e

# Honestly, I have no idea how this works, I just copy-pasted it from
# somewhere.

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

exec nginx -g 'daemon off;'