root@ussatdl01 [/usr/local/lsws]# ls -alrt
total 92
drwxr-xr-x 2 root root 4096 Mar 31 05:12 lib/
drwxr-xr-x 12 root root 4096 Mar 31 05:12 add-ons/
drwxr-xr-x 2 root root 4096 Mar 31 05:12 php/
drwxr-xr-x 7 root root 4096 Mar 31 05:12 DEFAULT/
drwxr-xr-x 2 root root 4096 Mar 31 05:12 docs/
drwxr-xr-x 2 root root 4096 Mar 31 06:30 logs/
drwx------ 3 lsadm lsadm 4096 May 27 21:01 phpbuild/
drwxr-xr-x 16 root root 4096 May 27 21:06 ./
drwxr-xr-x 7 root root 4096 May 27 21:06 lsphp5/
drwxr-xr-x 2 root root 4096 May 28 06:41 fcgi-bin/
drwxr-xr-x 2 root root 4096 Jun 4 07:31 share/
drwxr-xr-x 9 root root 4096 Jun 4 07:31 admin/
drwxr-xr-x 2 root root 4096 Jun 4 07:31 bin/
-rw-r--r-- 1 root root 6 Jun 4 07:31 VERSION
-rw-r--r-- 1 root root 6959 Jun 4 07:31 LICENSE
-rw-r--r-- 1 root root 2214 Jun 4 07:31 LICENSE.OpenLDAP
-rw-r--r-- 1 root root 6279 Jun 4 07:31 LICENSE.OpenSSL
-rw-r--r-- 1 root root 3208 Jun 4 07:31 LICENSE.PHP
drwx------ 2 lsadm lsadm 4096 Jun 4 07:31 autoupdate/
drwxr-xr-x. 25 root root 4096 Jun 11 01:02 ../
drwx------ 4 lsadm lsadm 4096 Jun 11 05:15 conf/
root@ussatdl01 [/usr/local/lsws]#
root@ussatdl01 [/usr/local/lsws]# cd autoupdate/
root@ussatdl01 [/usr/local/lsws/autoupdate]# ls -alrt
total 20
-rw-r--r-- 1 nobody nobody 9 Mar 31 12:59 release
-rw-r--r-- 1 nobody nobody 12 Mar 31 12:59 platform
drwxr-xr-x 16 root root 4096 May 27 21:06 ../
-rw-r--r-- 1 nobody nobody 1899 Jun 4 07:31 update.log
drwx------ 2 lsadm lsadm 4096 Jun 4 07:31 ./
-rw-r--r-- 1 nobody nobody 0 Jun 11 15:13 .last
root@ussatdl01 [/usr/local/lsws/autoupdate]#
root@ussatdl01 [/usr/local/lsws/logs]# tail -50 lsrestart.log
Mon Jun 10 04:53:57 EDT 2013
restart, LSWS running: 1
Mon Jun 10 05:02:25 EDT 2013
restart, LSWS running: 1
Mon Jun 10 07:15:55 EDT 2013
restart, LSWS running: 1
Mon Jun 10 08:14:44 EDT 2013
restart, LSWS running: 1
Mon Jun 10 09:14:24 EDT 2013
restart, LSWS running: 1
Mon Jun 10 11:11:13 EDT 2013
restart, LSWS running: 1
Mon Jun 10 13:08:03 EDT 2013
restart, LSWS running: 1
Mon Jun 10 15:04:53 EDT 2013
restart, LSWS running: 1
Mon Jun 10 17:01:43 EDT 2013
restart, LSWS running: 1
Mon Jun 10 19:15:13 EDT 2013
restart, LSWS running: 1
Mon Jun 10 21:12:03 EDT 2013
restart, LSWS running: 1
Mon Jun 10 23:08:53 EDT 2013
restart, LSWS running: 1
Tue Jun 11 01:05:45 EDT 2013
restart, LSWS running: 1
Tue Jun 11 01:06:58 EDT 2013
restart, LSWS running: 1
Tue Jun 11 01:07:14 EDT 2013
restart, LSWS running: 1
Tue Jun 11 01:07:41 EDT 2013
restart, LSWS running: 1
Tue Jun 11 03:12:49 EDT 2013
restart, LSWS running: 1
Tue Jun 11 05:01:40 EDT 2013
restart, LSWS running: 1
Tue Jun 11 05:10:07 EDT 2013
restart, LSWS running: 1
Tue Jun 11 07:06:58 EDT 2013
restart, LSWS running: 1
Tue Jun 11 08:05:47 EDT 2013
restart, LSWS running: 1
Tue Jun 11 09:06:07 EDT 2013
restart, LSWS running: 1
Tue Jun 11 11:02:57 EDT 2013
restart, LSWS running: 1
Tue Jun 11 13:16:27 EDT 2013
restart, LSWS running: 1
Tue Jun 11 15:13:18 EDT 2013
restart, LSWS running: 1
root@ussatdl01 [/usr/local/lsws/logs]#
root@ussatdl01 [/usr/local/lsws]# tar jcvf autoupdate-backup.tar.bz2 autoupdate/
autoupdate/
autoupdate/update.log
autoupdate/platform
autoupdate/release
autoupdate/.last
root@ussatdl01 [/usr/local/lsws]# cd autoupdate
root@ussatdl01 [/usr/local/lsws/autoupdate]# rm -rf *
root@ussatdl01 [/usr/local/lsws/autoupdate]# ls -alrt
total 8
-rw-r--r-- 1 nobody nobody 0 Jun 11 15:13 .last
drwxr-xr-x 16 root root 4096 Jun 11 16:55 ../
drwx------ 2 lsadm lsadm 4096 Jun 11 16:55 ./
root@ussatdl01 [/usr/local/lsws/autoupdate]# rm .last
rm: remove regular empty file `.last'? y
root@ussatdl01 [/usr/local/lsws/autoupdate]# ls -alrt
total 8
drwxr-xr-x 16 root root 4096 Jun 11 16:55 ../
drwx------ 2 lsadm lsadm 4096 Jun 11 16:55 ./
root@ussatdl01 [/usr/local/lsws/autoupdate]#
root@ussatdl01 [/usr/local/lsws/autoupdate]# /etc/init.d/lsws restart
root@ussatdl01 [/usr/local/lsws/autoupdate]# ls -alrt
total 20
drwxr-xr-x 16 root root 4096 Jun 11 16:55 ../
-rw-r--r-- 1 root nobody 0 Jun 11 16:57 .last
-rw-r--r-- 1 lsadm lsadm 12 Jun 11 16:57 platform
drwx------ 2 lsadm lsadm 4096 Jun 11 16:57 ./
-rw-r--r-- 1 lsadm lsadm 113 Jun 11 16:57 update.log
-rw-r--r-- 1 lsadm lsadm 9 Jun 11 16:57 release
root@ussatdl01 [/usr/local/lsws/autoupdate]#
root@ussatdl01 [/usr/local/lsws/autoupdate]# cat update.log
[2013-06-11 16:57:06] Checking for new release...
[2013-06-11 16:57:06] [OK] New release 4.2.3-ent is available.
[2013-06-11 16:59:16] Extracting package file
[2013-06-11 16:59:16] Upgrade to 4.2.3 successfully.
[2013-06-11 16:59:18] Checking for new release...
[2013-06-11 16:59:18] [OK] Package is up-to-date.
root@ussatdl01 [/usr/local/lsws/autoupdate]#