Here's some basic instructions for using the daemon scripts: 1. Build and configure wave according to existing instructions. The location of the wave clone will be referred to as WAVE_DIR. 2. Copy platforms/ubuntu/server-wrapper.sh into WAVE_DIR. 3. Copy platforms/ubuntu/daemon-script.sh to /etc/init.d/wave 4. Make sur that the execute bit (chmod a+x) is set for both scripts. 5. Edit /etc/init.d/wave to change /var/wave to the actual location of the WAVE_DIR (or move WAVE_DIR to /var/wave). 6. Create a "wave" user and "wave" group. 7. Create the dir "log" in WAVE_DIR and then run (chown wave:wave log). 8. sudo /etc/init.d/wave start
daemon-script.sh runs server-wrapper.sh which exec's run-server.sh, which exec's java. -Tad On Wed, Dec 8, 2010 at 11:02 PM, [email protected] <[email protected]> wrote: > Hey! > > I just managed to work out how to get Wave in a Box running smoothly > on my Ubuntu 10.04 VPS and I had a question... I noticed in the > "platforms/ubuntu/" directory there is a daemon file which I thought > might allow me to run Wave as a daemon and not have to execute the > "run-server.sh" script every time? > > Maybe there is a proper way to be running wave on a server.. I'm not > sure? > > Thanks in advance! I'm looking forward to play with wave on my own > machine! > > -- > You received this message because you are subscribed to the Google Groups > "Wave Protocol" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<wave-protocol%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/wave-protocol?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Wave Protocol" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/wave-protocol?hl=en.
