diff --git a/www/gitpull.php b/www/gitpull.php new file mode 100644 index 0000000..35393d6 --- /dev/null +++ b/www/gitpull.php @@ -0,0 +1,8 @@ +\n"); +chdir('/var/www/Boto'); +touch(GITPULLMASTER); +?> \ No newline at end of file diff --git a/www/gitpull.sh b/www/gitpull.sh new file mode 100644 index 0000000..5657fcc --- /dev/null +++ b/www/gitpull.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +cd /home/user/www/example.com/repository +while true ; do + if [[ -f GITPULLMASTER ]] ; then + git pull > gitpull.log 2>&1 + mv GITPULLMASTER GITPULLMASTER.`date +"%Y%m%d%H%M%S"` + fi + sleep 10 +done \ No newline at end of file diff --git a/www/index.html b/www/index.html index 687e237..7de8a0e 100644 --- a/www/index.html +++ b/www/index.html @@ -1,16 +1,26 @@ - - - Sariboto - + + + Twitch Chat Counter + -

+
+
+

Type 1 in the chat!

+ (broadcaster only) +
+ !start-count | !end-count | !clear-count +
+
+
+ +

Waiting for count...

- - +
+ + \ No newline at end of file