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. From https://groups.google.com/forum/?fromgroups#!searchin/wave-protocol/server-wrapper.sh/wave-protocol/2c3OoNU5Pto/iQuj-aqkvFMJ On Thu, May 17, 2012 at 7:39 PM, 李向彬 <[email protected]> wrote: > i try to run WIAB with the command:*./run-server.sh & *first it is ok, but > after sometime it stops working and i lost all the data. > > 1. is there any proper way to run WIAB as an daemon ? > 2. before when i restart WIAB, all the data is preserved , why i lost > this time? > > > -- > *danny* > *Mobile:18912945948* > *qq:466765117* >
