Browse Source
can install to any directory now (since program has its own scripts and colors.txt), and installer installs to chunkymap folder in HOME foldermaster
poikilos
9 years ago
committed by
Jacob Gustafson
17 changed files with 103 additions and 46 deletions
@ -1,3 +1,3 @@ |
|||||
#or echo "verbose_enable:True" > $HOME/minetest/util/chunkymap-signals.txt |
#or echo "verbose_enable:True" > $HOME/chunkymap/chunkymap-signals.txt |
||||
verbose_enable:True |
verbose_enable:True |
||||
|
|
||||
|
@ -1,9 +1,9 @@ |
|||||
#!/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/chunkymap/chunkymap-regen.py |
||||
#-1 FOR LESS THAN ONE MINUTE AGO: |
#-1 FOR LESS THAN ONE MINUTE AGO: |
||||
#lol won't work because if the py doesn't run the players won't be updated |
#lol won't work because if the py doesn't run the players won't be updated |
||||
#MT_PLAYERS_ACTIVE_COUNT=$(find /var/www/html/minetest/chunkymapdata/players -type f -mmin -1 | wc -l) |
#MT_PLAYERS_ACTIVE_COUNT=$(find /var/www/html/minetest/chunkymapdata/players -type f -mmin -1 | wc -l) |
||||
#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.sh |
flock -n /var/run/chunkymap-regen.lockfile -c $HOME/chunkymap/chunkymap-regen.sh |
||||
#fi |
#fi |
@ -1,11 +1,11 @@ |
|||||
#!/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/chunkymap/chunkymap-regen.py |
||||
#-1 FOR LESS THAN ONE MINUTE AGO: |
#-1 FOR LESS THAN ONE MINUTE AGO: |
||||
#lol won't work because if the py doesn't run the players won't be updated |
#lol won't work because if the py doesn't run the players won't be updated |
||||
#MT_PLAYERS_ACTIVE_COUNT=$(find /var/www/html/minetest/chunkymapdata/players -type f -mmin -1 | wc -l) |
#MT_PLAYERS_ACTIVE_COUNT=$(find /var/www/html/minetest/chunkymapdata/players -type f -mmin -1 | wc -l) |
||||
#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/chunkymap/chunkymap-regen-players.sh |
||||
#fi |
#fi |
||||
|
|
||||
|
|
||||
|
@ -1,4 +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 --noloop true |
python $HOME/chunkymap/chunkymap-regen.py --skip-map true --noloop true |
||||
|
|
||||
|
@ -1,5 +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 --no-loop true |
python $HOME/chunkymap/chunkymap-regen.py --no-loop true |
||||
|
|
||||
|
|
||||
|
Loading…
Reference in new issue