supervisor.conf default location

前端 未结 3 492
遥遥无期
遥遥无期 2021-02-05 08:52

Im trying to make automatic deployment including supervisord and confused by default settings path.

Every deployment scheme I found use /etc/supervisor/supervisor

3条回答
  •  情歌与酒
    2021-02-05 09:47

    From ze actual documentation: http://supervisord.org/configuration.html#configuration-file

    The Supervisor configuration file is conventionally named supervisord.conf. It is used by both supervisord and supervisorctl. If either application is started without the -c option (the option which is used to tell the application the configuration filename explicitly), the application will look for a file named supervisord.conf within the following locations, in the specified order. It will use the first file it finds.

    1. $CWD/supervisord.conf
    2. $CWD/etc/supervisord.conf
    3. /etc/supervisord.conf
    4. /etc/supervisor/supervisord.conf (since Supervisor 3.3.0)
    5. ../etc/supervisord.conf (Relative to the executable)
    6. ../supervisord.conf (Relative to the executable)

提交回复
热议问题