[Zope3-checkins] SVN: Zope3/trunk/zopeskel/etc/zdaemon.conf.in set socket-name to $INSTANCE_HOME/var/zopectlsock, to prevent

Bernd Dorn bernd.dorn at fhv.at
Wed Jan 11 11:42:10 EST 2006


Log message for revision 41267:
  set socket-name to $INSTANCE_HOME/var/zopectlsock, to prevent
  conflicts when running multiply instances or as root. the default was
  zdsock in the directory where zopectl is started from.
  

Changed:
  U   Zope3/trunk/zopeskel/etc/zdaemon.conf.in

-=-
Modified: Zope3/trunk/zopeskel/etc/zdaemon.conf.in
===================================================================
--- Zope3/trunk/zopeskel/etc/zdaemon.conf.in	2006-01-11 16:37:42 UTC (rev 41266)
+++ Zope3/trunk/zopeskel/etc/zdaemon.conf.in	2006-01-11 16:42:09 UTC (rev 41267)
@@ -1,5 +1,6 @@
 %define INSTANCE <<INSTANCE_HOME>>
 %define LOGDIR $INSTANCE/log
+%define DATADIR $INSTANCE/var
 
 <runner>
   # This tells the runner what program to run.  Don't change this.
@@ -12,13 +13,27 @@
   #
   daemon on
 
-  # If set, this option specifies a file to which all output of theh
+  # If set, this option specifies a file to which all output of the
   # program being run is written when run in daemon mode.  If not set,
   # output from the program is discarded.  This has no effect outside
   # daemon mode.
   #
   transcript $LOGDIR/transcript.log
 
+  # Path to the zopectl socket. Should be accessable by the user the
+  # daemon is running under (see below)
+  #
+  socket-name $DATADIR/zopectlsock
+
+  # If you intend to run Zope as the "root" user, you must supply this
+  # directive with an effective username or userid number.
+  #
+  # Default: unset
+  #
+  # Example:
+  #
+  #  user zope1
+  
 </runner>
 
 <eventlog>



More information about the Zope3-Checkins mailing list