Browse Source

end with newlines

master
poikilos 9 years ago
committed by Jacob Gustafson
parent
commit
eb6f68d79c
  1. 2
      chunkymap-players-cronjob.sh
  2. 2
      chunkymap-regen-players.bat
  3. 1
      chunkymap-regen-players.sh
  4. 2
      chunkymap-regen.py
  5. 2
      chunkymap-regen.sh
  6. 3
      install-chunkymap-on-ubuntu.sh
  7. 1
      set-minutely-crontab-job.sh
  8. 3
      set-minutely-players-crontab-job.sh
  9. 1
      web/example.php

2
chunkymap-players-cronjob.sh

@ -7,3 +7,5 @@
#if[ $MT_PLAYERS_ACTIVE_COUNT -gt 0 ]; then #if[ $MT_PLAYERS_ACTIVE_COUNT -gt 0 ]; then
flock -n /var/run/chunkymap-regen.lockfile -c /home/owner/minetest/util/chunkymap-regen-players.sh flock -n /var/run/chunkymap-regen.lockfile -c /home/owner/minetest/util/chunkymap-regen-players.sh
#fi #fi

2
chunkymap-regen-players.bat

@ -1,3 +1,5 @@
C:\Python27\python.exe chunkymap-regen.py --skip-map=true C:\Python27\python.exe chunkymap-regen.py --skip-map=true
REM C:\Python27\python.exe chunkymap-regen.py --skip-players=true --skip-map=true REM C:\Python27\python.exe chunkymap-regen.py --skip-players=true --skip-map=true
pause pause

1
chunkymap-regen-players.sh

@ -1,3 +1,4 @@
#!/bin/sh #!/bin/sh
# NOTE: only works since all scripts in /etc/cron.*/ or crontab run as root # NOTE: only works since all scripts in /etc/cron.*/ or crontab run as root
python /home/owner/minetest/util/chunkymap-regen.py --skip-map=true python /home/owner/minetest/util/chunkymap-regen.py --skip-map=true

2
chunkymap-regen.py

@ -856,3 +856,5 @@ if __name__ == '__main__':
#input("press enter to exit...") #input("press enter to exit...")
mtchunks.run() mtchunks.run()

2
chunkymap-regen.sh

@ -1,3 +1,5 @@
#!/bin/sh #!/bin/sh
# NOTE: only works since all scripts in /etc/cron.*/ or crontab run as root # NOTE: only works since all scripts in /etc/cron.*/ or crontab run as root
python /home/owner/minetest/util/chunkymap-regen.py python /home/owner/minetest/util/chunkymap-regen.py

3
install-chunkymap-on-ubuntu.sh

@ -39,3 +39,6 @@ echo "To learn about chunkymap:"
echo "cd $CHUNKYMAP_DEST" echo "cd $CHUNKYMAP_DEST"
echo "" echo ""
# NOTE: colors.txt should ALREADY be in $HOME/minetest/util # NOTE: colors.txt should ALREADY be in $HOME/minetest/util

1
set-minutely-crontab-job.sh

@ -14,3 +14,4 @@ crontab -l > "$MT_CHUNKYMAP_CRON_TMP"
echo "* * * * * root /home/owner/minetest/util/chunkymap-cronjob" >> "$MT_CHUNKYMAP_CRON_TMP" echo "* * * * * root /home/owner/minetest/util/chunkymap-cronjob" >> "$MT_CHUNKYMAP_CRON_TMP"
crontab "$MT_CHUNKYMAP_CRON_TMP" crontab "$MT_CHUNKYMAP_CRON_TMP"
rm "$MT_CHUNKYMAP_CRON_TMP" rm "$MT_CHUNKYMAP_CRON_TMP"

3
set-minutely-players-crontab-job.sh

@ -14,3 +14,6 @@ crontab -l > "$MT_CHUNKYMAP_CRON_TMP"
echo "* * * * * root /home/owner/minetest/util/chunkymap-players-cronjob" >> "$MT_CHUNKYMAP_CRON_TMP" echo "* * * * * root /home/owner/minetest/util/chunkymap-players-cronjob" >> "$MT_CHUNKYMAP_CRON_TMP"
crontab "$MT_CHUNKYMAP_CRON_TMP" crontab "$MT_CHUNKYMAP_CRON_TMP"
rm "$MT_CHUNKYMAP_CRON_TMP" rm "$MT_CHUNKYMAP_CRON_TMP"

1
web/example.php

@ -37,3 +37,4 @@ else {
<center><small>Powered by <a href="https://github.com/expertmm/minetest-chunkymap">Chunkymap</a></small></center> <center><small>Powered by <a href="https://github.com/expertmm/minetest-chunkymap">Chunkymap</a></small></center>
</body> </body>
</html> </html>

Loading…
Cancel
Save