[oclug] How can I signal a Linux server to run a script?
Hugh Campbell
hdc at fs.ca
Wed Jun 18 09:54:13 EDT 2003
On Wed, 18 Jun 2003 12:00:22 -0400, Stephen Gregory wrote:
>On Wed, Jun 18, 2003 at 11:29:39AM -0400, David F. Skoll wrote:
>> On Wed, 18 Jun 2003, Hugh Campbell wrote:
>>
>> > Is there some sort of configurable general purpose daemon program that
>> > listens on a TCP port, and then can be configured to run a script when it
>> > receives traffic on that port?
>>
>> Apache? You could run it as a CGI.
>
>If you don't want the hassle of a full, high performance web server
>try boa or thttpd (search freshmeat.net). Both support CGI, both have
>simple config files. thttpd supports auth, I don't think boa does.
>
Interesting suggestions, and I will look into them. I will take the first
thing that works, frankly. But I don't have a web server on the machine of
interest, and don't really want to get involved in setting up even thttpd if
was going to be a dead end for my present purpose. So you are giving
me useful information, namely that that is a useful direction to go as one
possible solution to the problem - I hate chasing down blind alleys.
>The other option is to
>write a daemon in the scripting language of your choice. There are
>network daemon sample scripts all over the web.
There are???? That's very interesting. Can you point me in a direction.
I would like to look at something like that.
Hugh
More information about the OCLUG
mailing list