Title: Starting phoenix/poclbm from linux screen (using .screenrc) Post by: jondecker76 on May 15, 2011, 04:04:02 AM I'm trying to set up a screenrc that has windows for bitcoind, an status script, and phoenix..
Everything works great, but I can't get phoenix (or poclbm) to launch automatically when a new screen instance is initiated.. I understand that this is because screen isn't launching phoenix.py from within the pheonix directory - so I get an "Unable to locate kernel" message. I've tried various tricks such as creating a simple launcher bash script inside the phoenix directory, and referencing that script from within my .screenrc file. So basically the problem is, neither phoenix or poclbm will run unless launched from their own root directory.. Does anyone know a way around this? thanks! Title: Re: Starting phoenix/poclbm from linux screen (using .screenrc) Post by: CydeWeys on May 15, 2011, 04:06:03 AM In your script do something like
Code: cd /path/to/phoenix Yeah, it's so simple you're gonna be kicking yourself for not realizing it ;D Title: Re: Starting phoenix/poclbm from linux screen (using .screenrc) Post by: jondecker76 on May 15, 2011, 05:30:41 AM tried that (using cd).. the script works if I run it from the command line, but not if invoked by screen (referencing the script from .screenrc)
any other ideas? here is my .screenrc Code: startup_message off and here is my startphoenix.sh Code: #!/bin/bash Title: Re: Starting phoenix/poclbm from linux screen (using .screenrc) Post by: jondecker76 on May 15, 2011, 01:50:51 PM hmm.... still no luck :(
this is frustrating! |