diff --git a/install/cowyo.init b/install/awwkoala.init similarity index 92% rename from install/cowyo.init rename to install/awwkoala.init index 75b9c8b..419dfaf 100644 --- a/install/cowyo.init +++ b/install/awwkoala.init @@ -1,7 +1,7 @@ #!/bin/sh ### BEGIN INIT INFO -# Provides: cowyo +# Provides: awwkoala # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 @@ -12,15 +12,15 @@ # This should be placed in /etc/init.d directory # start with -# sudo /etc/init.d/cowyo start +# sudo /etc/init.d/awwkoala start # stop with -# sudo /etc/init.d/cowyo start +# sudo /etc/init.d/awwkoala start dir="CUR_DIR" user="USERCUR" -cmd="./cowyo -p :PORT EXT_ADDRESS" +cmd="./awwkoala -p :PORT EXT_ADDRESS" -name="cowyo" +name="awwkoala" pid_file="/var/run/$name.pid" stdout_log="/var/log/$name.log" stderr_log="/var/log/$name.err" diff --git a/install/cowyo.nginx b/install/awwkoala.nginx similarity index 86% rename from install/cowyo.nginx rename to install/awwkoala.nginx index 0e9afd8..021cbdc 100644 --- a/install/cowyo.nginx +++ b/install/awwkoala.nginx @@ -1,9 +1,9 @@ server { - # SERVER BLOCK FOR cowyo + # SERVER BLOCK FOR awwkoala listen 80; ## listen for ipv4; this line is default and implied - access_log /etc/nginx/logs/access-cowyo.log; - error_log /etc/nginx/logs/error-cowyo.log info; + access_log /etc/nginx/logs/access-awwkoala.log; + error_log /etc/nginx/logs/error-awwkoala.log info; root CUR_DIR; server_name ADDRESS; diff --git a/install/install.sh b/install/install.sh deleted file mode 100644 index 2e93bf2..0000000 --- a/install/install.sh +++ /dev/null @@ -1,10 +0,0 @@ -apt-get update -apt-get install nginx -cp cowyo.nginx /etc/nginx/sites-available/ -cp cowyo.init /etc/init.d/ -ln -s /etc/nginx/sites-available/cowyo.nginx /etc/nginx/sites-enabled/cowyo.nginx -service nginx reload && service nginx restart -cd ../ -go build -service cowyo.init start - diff --git a/static/js/cowyo.js b/static/js/websockets.js similarity index 100% rename from static/js/cowyo.js rename to static/js/websockets.js diff --git a/templates/index.tmpl b/templates/index.tmpl index 15a4d8b..9a97272 100644 --- a/templates/index.tmpl +++ b/templates/index.tmpl @@ -9,7 +9,7 @@ - {{if .NoEdit}} {{else}} {{end}} + {{if .NoEdit}} {{else}} {{end}}