[REBOL] Creating Servers in Rebol on Linux Re:
From: kevin:sunshinecable at: 28-Aug-2000 16:13
> How do I make the thing run resident so I can start or stop it via remote cgi?
>
> Right now, I must telnet in and run manually, if I close telnet client,
> server shuts down.
When you start your script, you should detach it from the console so
that when you log out the process continues running:
The following runs a REBOL script in the background (&) and redirects
stdout and stderr to the null device (1> /dev/null 2> /dev/null) so
no output remains directed at the console.
%./fakenews.r & 1> /dev/null 2> /dev/null
Try that and see if it solves your problem.
Best regards,
Kev
------------------------------------------------------------------------
Kevin McKinnon, System/Network Administrator [kevin--sunshinecable--com]
Sunshine Communications http://www.sunshinecable.com
PGP Public Key: http://www.dockmaster.net/pgp.html PGP 6.0 www.pgp.com