slitaz-forge rev 117
tank: update cron file
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 14 14:03:10 2012 +0100 (2012-03-14) |
parents | 4d15955a787b |
children | 990a9f6c167d |
files | tank/Makefile tank/files/etc/awstats/awstats.store.slitaz.org.conf tank/files/etc/init.d/local.sh tank/files/usr/bin/tank-bot tank/files/var/spool/cron/crontabs/root tank/web/index.php |
line diff
1.1 --- a/tank/Makefile Wed Mar 14 03:39:59 2012 +0100 1.2 +++ b/tank/Makefile Wed Mar 14 14:03:10 2012 +0100 1.3 @@ -11,18 +11,14 @@ 1.4 $(DESTDIR)$(PREFIX)/share 1.5 cp -f tank $(DESTDIR)$(PREFIX)/bin 1.6 cp -a files/usr/share/tank $(DESTDIR)$(PREFIX)/share 1.7 - 1.8 -install-files: 1.9 cp -a files/var $(DESTDIR)/ 1.10 chmod 0600 -p $(DESTDIR)/var/spool/cron/crontabs/root 1.11 cp -a files/etc $(DESTDIR)/ 1.12 cp -a files/usr $(DESTDIR}/ 1.13 + /etc/init.d/crond restart 1.14 1.15 -# Used to switc from taztank to tank (shorted :-) 1.16 uninstall: 1.17 - rm -f /usr/bin/taztank 1.18 rm -f /usr/bin/tank 1.19 - rm -rf /usr/share/taztank 1.20 rm -rf /usr/share/tank 1.21 1.22 clean:
2.1 --- a/tank/files/etc/awstats/awstats.store.slitaz.org.conf Wed Mar 14 03:39:59 2012 +0100 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,5 +0,0 @@ 2.4 -LogFile="/var/log/lighttpd/store.slitaz.org-access.log" 2.5 -SiteDomain="store.slitaz.org" 2.6 -DirData="/var/lib/awstats/store.slitaz.org" 2.7 -LogoLink="http://store.slitaz.org" 2.8 -Include "/etc/awstats/awstats.optional.conf" 2.9 \ No newline at end of file
3.1 --- a/tank/files/etc/init.d/local.sh Wed Mar 14 03:39:59 2012 +0100 3.2 +++ b/tank/files/etc/init.d/local.sh Wed Mar 14 14:03:10 2012 +0100 3.3 @@ -7,6 +7,5 @@ 3.4 echo "Starting local startup commands... " 3.5 rdate -s tick.greyware.com 3.6 for i in /home/slitaz/*/chroot ; do 3.7 - [ -s $i/var/lock/tazbb.lock ] && rm -f $i/var/lock/tazbb.lock 3.8 chroot $i /etc/init.d/crond start 3.9 done
4.1 --- a/tank/files/usr/bin/tank-bot Wed Mar 14 03:39:59 2012 +0100 4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 4.3 @@ -1,17 +0,0 @@ 4.4 -#!/bin/sh 4.5 - 4.6 -sandbox=/home/slitaz/cooking/sandbox 4.7 - 4.8 -[ -d "$sandbox/proc/1" ] && exit 4.9 - 4.10 -mount -t proc proc $sandbox/proc 4.11 -mount -t sysfs sysfs $sandbox/sys 4.12 -mount -t devpts devpts $sandbox/dev/pts 4.13 -mount -t tmpfs shm $sandbox/dev/shm 4.14 - 4.15 -chroot $sandbox tank-bot 4.16 - 4.17 -umount $sandbox/dev/shm 4.18 -umount $sandbox/dev/pts 4.19 -umount $sandbox/sys 4.20 -umount $sandbox/proc 4.21 \ No newline at end of file
5.1 --- a/tank/files/var/spool/cron/crontabs/root Wed Mar 14 03:39:59 2012 +0100 5.2 +++ b/tank/files/var/spool/cron/crontabs/root Wed Mar 14 14:03:10 2012 +0100 5.3 @@ -2,7 +2,7 @@ 5.4 */5 * * * * /home/slitaz/www/tank/bin/makegraphs >/dev/null 5.5 5.6 # Check Internet access 5.7 -*/5 * * * * /usr/bin/chkwan 5.8 +#*/5 * * * * /usr/bin/chkwan 5.9 5.10 # purge php sessions 5.11 0 * * * * /usr/bin/find /tmp -name 'sess*' -type f -mmin +720 -exec rm -f {} \; 5.12 @@ -12,16 +12,13 @@ 5.13 0 0 * * * /usr/bin/ntpclient -s -h fr.pool.ntp.org 5.14 5.15 # Update SliTaz stuff 5.16 -15 02 * * * /usr/bin/tank up-www 5.17 -*/15 * * * * /home/slitaz/www/website/libs/get-feeds.sh 5.18 +#*/15 * * * * /home/slitaz/www/website/libs/get-feeds.sh 5.19 +15 02 * * * /usr/bin/tank up-pro 5.20 20 02 * * * /usr/bin/tazpkg-web cooking 5.21 30 02 * * * /usr/bin/tazpkg-web stable 5.22 5.23 -0,10,20,30,40,50 * * * * /usr/bin/roundup-mailgw /home/slitaz/bugs/ \ 5.24 - pop bugs@slitaz.org:Bugs4SliTaz@pop.slitaz.org 5.25 - 5.26 -# Update flavors repo, until Gok* update its tools - pascal 5.27 -0 */2 * * * cd /home/slitaz/cooking/sandbox/home/slitaz/cooking/flavors && hg pull -u 5.28 +#0,10,20,30,40,50 * * * * /usr/bin/roundup-mailgw /home/slitaz/bugs/ \ 5.29 +# pop bugs@slitaz.org:Bugs4SliTaz@pop.slitaz.org 5.30 5.31 # Build rolling release every day if necessary 5.32 -0 4 * * * /home/bellard/rolling/rolling.sh 5.33 \ No newline at end of file 5.34 +0 4 * * * /home/bellard/rolling/rolling.sh
6.1 --- a/tank/web/index.php Wed Mar 14 03:39:59 2012 +0100 6.2 +++ b/tank/web/index.php Wed Mar 14 14:03:10 2012 +0100 6.3 @@ -34,8 +34,8 @@ 6.4 <div id="block_nav"> 6.5 <h4>Project servers</h4> 6.6 <ul> 6.7 - <li><a href="http://chub.slitaz.org/">Chub</a></li> 6.8 - <li><a href="http://mirror.slitaz.org/">Mirror</a></li> 6.9 + <li><a href="http://chub.slitaz.org/">Chub server</a></li> 6.10 + <li><a href="http://mirror.slitaz.org/">Mirror server</a></li> 6.11 </ul> 6.12 </div> 6.13 <!-- Information/image -->