diff --git a/start.sh b/start.sh new file mode 100644 index 0000000..1ad0cfd --- /dev/null +++ b/start.sh @@ -0,0 +1,5 @@ +#!/bin/bash +OLDDIR = $PWD +cd /root/www +twistd --pidfile=/root/twistd.pid web --https=5000 --wsgi app.app -c app/hplumberjack.crt -k app/hplumberjack.key +cd $OLDDIR diff --git a/stop.sh b/stop.sh new file mode 100644 index 0000000..2255bc6 --- /dev/null +++ b/stop.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +kill $(cat /root/twistd.pid)