1Contents 2-------- 3 4 1. Upgrading from version 0.1.x and 0.2.x 5 2. Upgrading from version 0.03 6 3. Upgrading from version 0.02 7 81. Upgrading from version 0.1.x and 0.2.x 9----------------------------------------- 10 11The uptimed configuration file has been expanded to support new options. You 12probably want to merge your custom configuration from 'uptimed.conf' with 13the sample file called 'uptimed.conf-dist'. 14 152. Upgrading from version 0.03 16------------------------------ 17 18The location of bootid and logfiles have changed to the /var/spool/uptimed/ 19directory. This directory has already been created by 'make install'. 20However, you also need to move the old logfiles to the new location. 21 22First, shut down any running uptimed daemons. 23 24 killall uptimed 25 26(Note that the killall command might not have the desired effect on 27non-Linux systems.) 28 29Now move the old files: 30 31 mv /etc/uptimed.log /var/spool/uptimed/records 32 mv /var/run/uptimed.bootid /var/spool/uptimed/bootid 33 34Finally, start the (new) uptimed daemon: 35 36 uptimed 37 38Now follow the instructions as if you were upgrading from version 0.1.0. 39 403. Upgrading from version 0.02 41------------------------------ 42 43Versions 0.03 and higher log system information into the logfile. You have 44to convert these logfiles manually: 45 46First, shut down any running uptimed daemons. 47 48 killall uptimed 49 50(Note that the killall command might not have the desired effect on 51non-Linux systems.) 52 53Edit the file /etc/uptimed.log and change the entries from the format 54 55uptime:boottime 56to 57uptime:bootttime:systeminfo 58 59Example: 60 61377428:943880710 62to 63377428:943880710:Linux 2.2.13 64 65Now follow the instructions as if you were upgrading from version 0.03. 66