tanks/go.sh

19 lines
186 B
Bash
Raw Normal View History

#!/bin/sh
2018-08-07 12:21:52 -06:00
2018-08-08 08:08:04 -06:00
cd $(dirname $0)/../www
export BASE_PATH=/tanks/www/state/
2018-08-07 12:21:52 -06:00
(
httpd-foreground
2018-08-07 12:21:52 -06:00
) &
(
while true; do
../bin/round.sh /tanks/www/state/*
sleep 60
done
) &
wait