"Roger O. Svenning" <roger audioweb.no> writes:
> I have this game server process "nwserver"
that previously was started
> at boot time trough /etc/rc.local
>
> I could send commands and read results whenever needed
trough the use of
> 'watch -i -W console'
>
> I now want to start this process trough svscan and
supervise at boot
> time with the rc.d/svscan.sh which works fine except
for two related
> things:
>
> 1: The process doesn't attach to a tty and the thread
responsible for
> the process console goes into an infinite loop unless
you suppress the
> interactive mode trough a -quiet switch.
>
> 2: My web based administrations script need some way of
writing to and
> reading from the process console.
>
> How can I make the process attach to a tty at boot
time?
Give it a tty of its own?
You don't want to start the process in a startup script,
because then
anything it wants to do interactively will hold up the boot
process.
_______________________________________________
freebsd-questions freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|