On Sun, Dec 04, 2005 at 09:15:34AM -0500, Tres Seaver wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> John Poltorak wrote:
> > On Sun, Dec 04, 2005 at 11:32:15AM +0100, Andreas Jung wrote:
> > 
> >>WHY?
> > 
> > 
> > Because 'zdsock' is not an acceptable name.
> > 
> > I am running on OS/2 and the path name must start with '\\socket\\'.
> 
> Johh, you are likely going to have to hack the 'socket-name' key into
> $SOFTWARE_HOME/lib/python/Zope2/zopeschema.xml (as a top-level option, I
> think, bound to 'sockname';  it might need to be a sub-option of
> 'zoperunner').

Tres,

Do you mean ?

$SOFTWARE_HOME/lib/python/Zope2/Startup/zopeschema.xml

That is the location of such a file on my system.

As for hacking schema's that is something I'm not familiar with so I might
need a little hand holding before I manage to apply  the change you
suggest.

  <sectiontype name="zoperunner">
    <description>
      This section describes the options for zopectl.  These options
...

      options, the command line option (short and long form) are given
      here too.
    </description>

    <multikey name="program" required="no">
      <description>
       The program(s) that will be run by the runner
      </description>
    </multikey>

    <key name="daemon" datatype="boolean"
     required="no" default="true">
      <description>
        Command-line option: -d or --daemon.

....

        - call umask(022)
      </description>
    </key>

How exactly do I hack the 'socket-name' key into the file?

Would the file

$SOFTWARE_HOME/lib/python/zdaemon/sample.conf

be of any use in this matter?


> Please submit a patch (to http://www.zope.org/Collectors/Zope) when you
> get it working.


It may take some time to get working...

 
> Tres
> - --
> ===================================================================
> Tres Seaver          +1 202-558-7113          [EMAIL PROTECTED]
> Palladion Software   "Excellence by Design"    http://palladion.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFDkvoF+gerLs4ltQ4RAk3CAJ94XslX9sOw6VmcC2JDaooIXmotmACgtP5X
> ymxZAWD9nZn3ZmoetoV/DhE=
> =IhnZ
> -----END PGP SIGNATURE-----


_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to