Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; supervisor config file
- [unix_http_server]
- file=/var/run/supervisor.sock ; (the path to the socket file)
- chmod=0700 ; sockef file mode (default 0700)
- [supervisord]
- logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
- pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
- childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP)
- [inet_http_server] ; inet (TCP) server disabled by default
- port=127.0.0.1:9001 ; (ip_address:port specifier, *:port for all iface)
- ;username=user ; (default is no username (open server))
- ;password=123 ; (default is no password (open server))
- ; the below section must remain in the config file for RPC
- ; (supervisorctl/web interface) to work, additional interfaces may be
- ; added by defining them in separate rpcinterface: sections
- [rpcinterface:supervisor]
- supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
- [supervisorctl]
- serverurl=unix:///var/run/supervisor.sock ; use a unix:// URL for a unix socket
- ; The [include] section can just contain the "files" setting. This
- ; setting can list multiple files (separated by whitespace or
- ; newlines). It can also contain wildcards. The filenames are
- ; interpreted as relative to this file. Included files *cannot*
- ; include files themselves.
- ;[eventlistener:process_event_gateway]
- ;user=kingmidas
- ;directory=/home/kingmidas/functional_prototype/qlayer
- ;command=python process_event_gateway.py
- ;numprocs=1 ; number of processes copies to start (def 1)
- ;events=PROCESS_STATE ; event notif. types to subscribe to (req'd)
- ;buffer_size=50 ; event buffer queue size (default 10)
- ;priority=-1 ; the relative start priority (default -1)
- ;autostart=true ; start at supervisord start (default: true)
- ;autorestart=unexpected ; whether/when to restart (default: unexpected)
- ; The below sample group section shows all possible group values,
- ; create one or more 'real' group: sections to create "heterogeneous"
- ; process groups.
- ;[group:thegroupname]
- ;programs=progname1,progname2 ; each refers to 'x' in [program:x] definitions
- ;priority=999 ; the relative start priority (default 999)
- ; The [include] section can just contain the "files" setting. This
- ; setting can list multiple files (separated by whitespace or
- ; newlines). It can also contain wildcards. The filenames are
- ; interpreted as relative to this file. Included files *cannot*
- ; include files themselves.
- ;[include]
- ;files = relative/directory/*.ini
- [program:main_app]
- user=sifu-local
- directory=/home/sifu-local/mimer/supervisor/ss15m22_sw/main_app/build/bin
- command=/home/sifu-local/mimer/supervisor/ss15m22_sw/main_app/build/bin/main_app
- priority=1
- redirect_stderr=true
- autostart=true
- autorestart=true
- [program:control_app]
- user=sifu-local
- directory=/home/sifu-local/mimer/supervisor/ss15m22_sw/control_app/build/bin
- command=/home/sifu-local/mimer/supervisor/ss15m22_sw/control_app/build/bin/control_app /dev/ttyUSB0
- priority=1
- redirect_stderr=true
- autostart=true
- autorestart=true
- [include]
- files = /etc/supervisor/conf.d/*.conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement