Re: Domino Console
Sven Pfeifer <[email protected]>
| Newsgroups | gmane.linux.suse.domino |
|---|---|
| Message-ID | <[email protected]> |
Hi, Rainer Traut <[email protected]> wrote: > Hi, > > Sven Pfeifer wrote: > > >>in my old company w have Sun Solaris Domino Server, an on this server was > >>a > >>skript for a live console via telnet and you can send command via this > >>console. I'm serching for this on linux. I Know the Tail command, but > >>thats not > >>enough for me. > > > > > >well I think, that tail is really not enough, but what do you think > >about: > > > > ftp://ftp.suse.com/pub/people/iboernig/domino/8.x/domino-startscript-2.1-4.noarch.rpm > > > >or > > > > ftp://ftp.suse.com/pub/people/iboernig/domino/7.x/domrun-0.3-1.i386.rpm > > (for SuSE-Linux-Versions <= 7.3) > > > > I think this is not, what he wants to have. > As I have looked at the SUSE scripts, they don't use screen. > So he cannot have a real interactive console on the server. but domrun/domino-startscript is somehow interactive. You can use ist like: echo "DOMINO_COMMAND" >> $INPUT_FILE where $INPUT_FILE = /var/log/notes/domino.input or something else. > Possibly sth like this? > > /bin/su -c "cd $DOMINO_DATA; screen -dmS domino $DOMINO_BIN" domino Probably there is a chance to combine the above startscript and the screen command. I haven't tested something like this, but i think i should. > You can go back to this console by becoming the domino user, > then do an > > screen -r -D Domino > > Thanks > Rainer Cheers Sven -- 4. The artifact which is the source of my power will not be kept on the Mountain of Despair beyond the River of Fire guarded by the Dragons of Eternity. It will be in my safe-deposit box. The same applies to the object which is my one weakness. --Peter Anspach's list of things to do as an Evil Overlord -------------------------------------------------------[rand. sig. #9]