Implement bug #6002: atomic (monolithic) update of multiple files on unix/mac by writing them and then running an external shell script to make sure the wrapper is fully restarted. Not finished yet, needs more testing and needs to ask the user for permission to deploy/restart.
Update wrapper files for x86 linux atomically. Does not contain the support for the other architectures/supported unixes yet.
Delete the temp files on exit
Doh, need executable flag on wrapper binaries
Doh, delete bogus potentially dangerous call to deploy()
If auto-deploy is enabled, deploy the wrapper update immediately. If not, log an error message for now. (I will add a dialog box soon).
Make the binaries executable, not the libraries! Ooops.
Ask the user for confirmation if auto-update isn't turned on.
Remove script when done.
Hopefully fix deploy script SIGPIPE issues (it's started connected to the JVM)
Logging
Fix running at too low a priority when restarting.
No need for the extra extra thread here.
Call the right deploy method! (class permissions issue, lack of @Override made it unclear)
Delete backups only after successfully restarting.
Logging
Delete obsolete comment, Ticker is separate from PacketSender now
Ugly hack to avoid changing nice value of freenet: Rewrite run.sh as run.nonice.sh with PRIORITY=
Serialise update deployments involving restarts: We do not want a normal update and a multi-file update to both restart the node / rewrite wrapper.conf etc at the same time.
Add IA64 binaries as mustExist=false. We may need them when we eventually update run.sh.