File tree 6 files changed +29
-10486
lines changed
6 files changed +29
-10486
lines changed Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env node
2
+
3
+ require ( "../app" ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " wetty" ,
3
- "version" : " 0.0.8 " ,
3
+ "version" : " 0.0.9 " ,
4
4
"dependencies" : {
5
5
"express" : " 3.5.1" ,
6
6
"websocket" : " " ,
Original file line number Diff line number Diff line change 5
5
< meta charset ="UTF-8 ">
6
6
< title > Wetty - The WebTTY Terminal Emulator</ title >
7
7
< script src ="/wetty/hterm_all.js "> </ script >
8
- < script src ="/wetty/hterm.js "> </ script >
9
8
< script src ="/wetty/wetty.js "> </ script >
10
9
< style >
11
10
html ,
You can’t perform that action at this time.
0 commit comments