[Checkins] SVN: www.zope.org/trunk/etc/supervisord.conf Do not use absolute paths

Wichert Akkerman wichert at wiggy.net
Wed May 28 11:34:24 EDT 2008


Log message for revision 86996:
  Do not use absolute paths

Changed:
  U   www.zope.org/trunk/etc/supervisord.conf

-=-
Modified: www.zope.org/trunk/etc/supervisord.conf
===================================================================
--- www.zope.org/trunk/etc/supervisord.conf	2008-05-28 13:23:59 UTC (rev 86995)
+++ www.zope.org/trunk/etc/supervisord.conf	2008-05-28 15:34:22 UTC (rev 86996)
@@ -1,14 +1,14 @@
 [unix_http_server]
-file=/srv/www.zope.org/var/supervisor.sock
+file=%(here)s/../var/supervisor.sock
 chmod=0600
 
 [supervisord]
-logfile=/srv/www.zope.org/var/log/supervisord.log
+logfile=%(here)s/../var/log/supervisord.log
 logfile_maxbytes=5MB
 logfile_backups=10
 loglevel=info
-pidfile=/srv/www.zope.org/var/supervisord.pid ;
-childlogdir=/srv/www.zope.org/var/log
+pidfile=%(here)s/../var/supervisord.pid ;
+childlogdir=%(here)s/../var/log
 nodaemon=false              ; (start in foreground if true;default false)
 minfds=1024                 ; (min. avail startup file descriptors;default 1024)
 minprocs=200                ; (min. avail process descriptors;default 200)
@@ -19,15 +19,15 @@
 supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
 
 [supervisorctl]
-serverurl=unix:///srv/www.zope.org/var/supervisor.sock
+serverurl=unix://%(here)s/../var/supervisor.sock
 
 [program:zeo]
-command = /srv/www.zope.org/bin/zeo fg
+command = %(here)s/../bin/zeo fg
 autostart= true
 autorestart = true
 
 [program:zeoclient]
-command = /srv/www.zope.org/bin/instance console
+command = %(here)s/../bin/instance console
 priority = 2
 redirect_stderr = true
 autostart= true



More information about the Checkins mailing list