diff --git a/chunkymap-regen-loop.sh b/chunkymap-regen-loop.sh index e164616..6ed81e6 100644 --- a/chunkymap-regen-loop.sh +++ b/chunkymap-regen-loop.sh @@ -1,3 +1,6 @@ #!/bin/sh -echo type screen -r to reconnect with this screen -flock -n /var/run/chunkymap-loop.lockfile -c "screen -t chunkymapregen python /home/owner/minetest/util/chunkymap-regen.py" +echo type screen -r to reconnect with this screen +# -S names the socket (-t only sets the title) +#FAILS: flock -n /var/run/chunkymap-loop.lockfile -c "screen -S chunkymapregen python /home/owner/minetest/util/chunkymap-regen.py" +#FAILS: screen -S chunkymapregen flock -n /var/run/chunkymap-loop.lockfile -c python /home/owner/minetest/util/chunkymap-regen.py +screen -S chunkymapregen python /home/owner/minetest/util/chunkymap-regen.py \ No newline at end of file