I have three scripts that read stdin from
tail -n 0 -f <file to read> | <script>

What I want to do is have them run on startup in screen.

I tried the following in rc.local:
screen -dmS <scriptname> tail -n 0 -f <file to read> | <script>

But it stops from that line, the other two scripts of the same format do not get executed. I also tried putting all three lines in a .sh script but it doesn't make a difference. I'm using CEntOS 4.3.

TIA
-- JP Loh
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to