[supervisord] nodaemon=true pidfile = /tmp/supervisord.pid logfile = /tmp/supervisord.log [unix_http_server] file=/var/run/supervisor.sock ; (the path to the socket file) chmod=0700 ; sockef file mode (default 0700) [supervisorctl] serverurl=unix:///var/run/supervisor.sock ; use a unix:// URL for a unix socket [rpcinterface:supervisor] supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface [program:php-fpm] command=/usr/sbin/php-fpm8.1 -F process_name=%(program_name)s_%(process_num)02d numprocs=1 autostart = true autorestart = false [include] files = /etc/supervisor/conf.d/*.conf