Browse Source

working on screen command syntax

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

5
chunkymap-regen-loop.sh

@ -1,3 +1,6 @@
#!/bin/sh #!/bin/sh
echo type screen -r to reconnect with this screen 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" # -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