Hi all, Two unrelated questions:
First, do you know of a way to execute a Java program from SmartFrog, as a different user than the one running the SmartFrog daemon ? I'd like not to run my application as root, but I also need root access to install packages and configuration files. I suspect this will be a pain since java.lang.ProcessBuilder doesn't expose the concept of users... But maybe there's a well-known workaround, this should be common enough. Then, I'm deploying to a bunch of servers from my development machine, so everything that needs to be deployed will be deployed on the servers. Except that I need to upload files there from the dev machine. It seems like a pain to have a SmartFrog daemon running on the dev machine just for that (and have to keep it powered on), but I think I might be fine if I could use the SmartFrog daemon that is started by sfDeploy as the null ProcessCompound for my uploads... Does that seem feasible? If that sounds unreasonable, then I guess the best solution is to have files on a web/ftp server on the dev machine and have the servers pull things from there. Thanks and see you soon :) Olivier Pernet We are the knights who say echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq'|dc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Smartfrog-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/smartfrog-users
