Hi, # scenario ln -s spawn-fcgi /etc/init.d/spawn-fcgi.cgit cat > /etc/conf.d/spawn-fcgi.cgit <<EOF FCGI_SOCKET=/run/fcgiwrap-cgit.sock FCGI_PROGRAM=/usr/sbin/fcgiwrap FCGI_CHILDREN=1 FCGI_USER=nginx FCGI_GROUP=nginx ALLOWED_ENV="PATH" EOF /etc/init.d/spawn-fcgi.cgit start * Only one of the two may be defined: * FCGI_SOCKET=/run/fcgiwrap-cgit.sock * FCGI_PORT=1234 * ERROR: spawn-fcgi.cgit failed to start appending the following will work cat >> /etc/conf.d/spawn-fcgi.cgit <<EOF FCGI_ADDRESS= FCGI_PORT= EOF why I have to overwrite settings from /etc/conf.d/spawn-fcgi when /etc/init.d/spawn-fcgi is not executable without symlink? From this perspective it would make sense to ship a default config without conflicting values.
default settings are not colliding as SOCKET is empty # The filename specified by # FCGI_SOCKET will be suffixed with a number for each child process, for # example, fcgi.socket-1. # Leave empty to use an IP socket (default). See below. Enabling this, # disables the IP socket. # FCGI_SOCKET= # When using FCGI_PORT, connections will only be accepted from the following # address. The default is 127.0.0.1. Use 0.0.0.0 to bind to all addresses. # FCGI_ADDRESS=127.0.0.1