Skip to content

Commit 36ffc20

Browse files
committedMar 28, 2015
Remove term.js (not needed anymore), added glabal command for wetty.
1 parent 7d928db commit 36ffc20

File tree

6 files changed

+29
-10486
lines changed

6 files changed

+29
-10486
lines changed
 

‎bin/wetty.conf

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# cat /etc/init/transloaditapi2.conf
2+
# http://upstart.ubuntu.com/wiki/Stanzas
3+
4+
description "Transloadit.com node.js API 2"
5+
author "kvz"
6+
7+
stop on shutdown
8+
respawn
9+
respawn limit 20 5
10+
11+
# Max open files are @ 1024 by default. Bit few.
12+
limit nofile 32768 32768
13+
14+
script
15+
set -e
16+
mkfifo /tmp/api2-log-fifo
17+
( logger -t api2 </tmp/api2-log-fifo & )
18+
exec >/tmp/api2-log-fifo
19+
rm /tmp/api2-log-fifo
20+
exec sudo -u www-data MASTERKEY=`cat /transloadit/keys/masterkey` /transloadit/bin/server 2>&1
21+
end script
22+
23+
post-start script
24+
/transloadit/bin/notify.sh 'API2 Just started'
25+
end script

‎bin/wetty.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env node
2+
3+
require("../app");

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wetty",
3-
"version": "0.0.8",
3+
"version": "0.0.9",
44
"dependencies": {
55
"express": "3.5.1",
66
"websocket": "",

‎public/index.html

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<meta charset="UTF-8">
66
<title>Wetty - The WebTTY Terminal Emulator</title>
77
<script src="/wetty/hterm_all.js"></script>
8-
<script src="/wetty/hterm.js"></script>
98
<script src="/wetty/wetty.js"></script>
109
<style>
1110
html,

0 commit comments

Comments
 (0)
Please sign in to comment.