From 1bb73acaa85cae15a6a7e10299aff75ba0101f46 Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Wed, 10 Feb 2016 09:09:33 -0500 Subject: [PATCH] Renamed things Former-commit-id: c1ac3dff7cd98b431815a6867393683c04567470 [formerly 06230779a9c4f9fa0070a26062b43f787f258dce] [formerly a9a7f5db2062c986fa7c3a44f6c5cdaf1853083c [formerly 7e1bd2081b510a0b5646938ca14797479b9b7f05]] Former-commit-id: b2fccfab3d9c08df25b7c5f00a01e003db82fe11 [formerly b1c31dbba1fecbd40ba7c8521101db5af70ff7d3] Former-commit-id: 546f2ac1bf93f0306b18c93ff6ec89d583ef1520 --- install/{cowyo.init => awwkoala.init} | 10 +++++----- install/{cowyo.nginx => awwkoala.nginx} | 6 +++--- install/install.sh | 10 ---------- static/js/{cowyo.js => websockets.js} | 0 templates/index.tmpl | 2 +- 5 files changed, 9 insertions(+), 19 deletions(-) rename install/{cowyo.init => awwkoala.init} (92%) rename install/{cowyo.nginx => awwkoala.nginx} (86%) delete mode 100644 install/install.sh rename static/js/{cowyo.js => websockets.js} (100%) 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}}