summaryrefslogtreecommitdiff
path: root/uberspace.de
diff options
context:
space:
mode:
Diffstat (limited to 'uberspace.de')
-rwxr-xr-xuberspace.de/upload10
1 files changed, 10 insertions, 0 deletions
diff --git a/uberspace.de/upload b/uberspace.de/upload
new file mode 100755
index 0000000..f8f9c25
--- /dev/null
+++ b/uberspace.de/upload
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# to run this on an uberspace.de account
+
+export HOME=/home/ACCOUNT
+. $HOME/.bash_profile
+export PHP_FCGI_CHILDREN=1
+cd $HOME/sinatra-fileupload-with-tokens
+exec /package/host/localhost/ruby-1.9.3-p551/bin/rackup &> ~/upload.log
+