comparison init.d/supervisord.conf @ 4902:03bbd33bc084

docs: rework stuff The existing docs were far from how we wanted it to be. There was so much to do and it is not feasible to do that cleanup it in clean patches. Instead, I took a sweep through the docs and changed what I thought could benefit from a change: structure, examples, advices, language, markup, content, etc.
author Mads Kiilerich <madski@unity3d.com>
date Wed, 11 Mar 2015 16:10:30 +0100
parents 24c0d584ba86
children e285bb7abb28
comparison
equal deleted inserted replaced
4901:409eaadc0054 4902:03bbd33bc084
21 user=username ; (default is current user, required if root) 21 user=username ; (default is current user, required if root)
22 ;identifier=supervisor ; (supervisord identifier, default is 'supervisor') 22 ;identifier=supervisor ; (supervisord identifier, default is 'supervisor')
23 ;directory=/tmp ; (default is not to cd during start) 23 ;directory=/tmp ; (default is not to cd during start)
24 ;nocleanup=true ; (don't clean up tempfiles at start;default false) 24 ;nocleanup=true ; (don't clean up tempfiles at start;default false)
25 ;childlogdir=/tmp ; ('AUTO' child log dir, default $TEMP) 25 ;childlogdir=/tmp ; ('AUTO' child log dir, default $TEMP)
26 environment=HOME=/home/username ; (key value pairs to add to environment) 26 environment=HOME=/srv/kallithea ; (key value pairs to add to environment)
27 ;strip_ansi=false ; (strip ansi escape codes in logs; def. false) 27 ;strip_ansi=false ; (strip ansi escape codes in logs; def. false)
28 28
29 ; the below section must remain in the config file for RPC 29 ; the below section must remain in the config file for RPC
30 ; (supervisorctl/web interface) to work, additional interfaces may be 30 ; (supervisorctl/web interface) to work, additional interfaces may be
31 ; added by defining them in separate rpcinterface: sections 31 ; added by defining them in separate rpcinterface: sections
42 42
43 ; restart with supervisorctl restart kallithea:* 43 ; restart with supervisorctl restart kallithea:*
44 [program:kallithea] 44 [program:kallithea]
45 numprocs = 1 45 numprocs = 1
46 numprocs_start = 5000 # possible should match ports 46 numprocs_start = 5000 # possible should match ports
47 directory=/home/username/kallithea-dir 47 directory=/srv/kallithea
48 command = /home/username/v-env/bin/paster serve rc.ini 48 command = /srv/kallithea/venv/bin/paster serve my.ini
49 process_name = %(program_name)s_%(process_num)04d 49 process_name = %(program_name)s_%(process_num)04d
50 redirect_stderr=true 50 redirect_stderr=true
51 stdout_logfile=/%(here)s/kallithea.log 51 stdout_logfile=/%(here)s/kallithea.log