A Lua script to check the health of Devuan Linux package mirrors. The master repo is at https://sledjhamr.org/cgit/apt-panopticon/ and the master issues tracker is at https://sledjhamr.org/mantisbt/project_page.php?project_id=13 https://sledjhamr.org/cgit/apt-panopticon/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
533 B

  1. #!/bin/bash
  2. cd /var/www/html/apt-panopticon/apt-panopticon_cgp
  3. #git pull > /dev/null
  4. #chown -R mirrors:www-data *
  5. cd /var/www/html/apt-panopticon/apt-panopticon
  6. #git pull > /dev/null
  7. #chown -R mirrors:www-data *
  8. if [ ! -f apt-panopticon.lock ] ; then
  9. rm ../results; ln -s apt-panopticon/results_old ../results
  10. flock -n apt-panopticon.lock ./apt-panopticon.lua && rm apt-panopticon.lock
  11. rm ../results; ln -s apt-panopticon/results ../results
  12. fi
  13. #chown -R mirrors:www-data /var/www/html/SledjHamr/apt-panopticon/results