diff --git a/init.d/supervisord.conf b/init.d/supervisord.conf --- a/init.d/supervisord.conf +++ b/init.d/supervisord.conf @@ -23,7 +23,7 @@ user=username ; (defaul ;directory=/tmp ; (default is not to cd during start) ;nocleanup=true ; (don't clean up tempfiles at start;default false) ;childlogdir=/tmp ; ('AUTO' child log dir, default $TEMP) -environment=HOME=/home/username ; (key value pairs to add to environment) +environment=HOME=/srv/kallithea ; (key value pairs to add to environment) ;strip_ansi=false ; (strip ansi escape codes in logs; def. false) ; the below section must remain in the config file for RPC @@ -44,8 +44,8 @@ serverurl=http://127.0.0.1:9001 ; use an [program:kallithea] numprocs = 1 numprocs_start = 5000 # possible should match ports -directory=/home/username/kallithea-dir -command = /home/username/v-env/bin/paster serve rc.ini +directory=/srv/kallithea +command = /srv/kallithea/venv/bin/paster serve my.ini process_name = %(program_name)s_%(process_num)04d redirect_stderr=true -stdout_logfile=/%(here)s/kallithea.log \ No newline at end of file +stdout_logfile=/%(here)s/kallithea.log