[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [dev-serveez] Avoiding code fork/duplication of serveez cfg code
From: |
stefan |
Subject: |
Re: [dev-serveez] Avoiding code fork/duplication of serveez cfg code |
Date: |
Mon, 2 Dec 2002 14:17:22 +0100 (CET) |
On 1 Dec 2002, Andreas Rottmann wrote:
> > Can you please give a short example how you want to implement your
> > 'services' and what will be the actual gain from the new functionality?
> >
> As I already explained, the whole thing came up during the
> implementation of my DistWork project, which is a P2P load
> distribution framework on top of serveez. It will have a 'prog'
> service, that is able to execute a command and feed it with (one or
> more) input and send back the output files multiplexing them over a
> TCP stream. I want to configure the prog service like this:
>
> (define-service! 'gcc-2.95-i386 'prog
> '((executable . "/usr/bin/gcc-2.95")
> (processes . 2)))
>
> (define-service! 'oggenc 'prog
> '((executable . "/usr/bin/oggenc")))
>
> [...]
Now I got the idea. Stay tuned until I apply things to CVS...
Cheers,
address@hidden