Browse Source

working on screen command syntax

master
poikilos 9 years ago
committed by Jacob Gustafson
parent
commit
b8254aa97b
  1. 7
      chunkymap-regen-loop.sh

7
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
Loading…
Cancel
Save