From bbc403b4534d4e93b446959791466c9d55239afc Mon Sep 17 00:00:00 2001 From: ofshellohicy Date: Wed, 10 Sep 2014 11:42:21 +0800 Subject: misc updates --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..54bc12a --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +export PYTHONWARNINGS?=ignore + +reloadgunicorn: + cat var/app.pid | xargs kill -HUP + +stopgunicorn: + cat var/app.pid | xargs kill -SIGTERM + +clean_pyc: + @find `pwd` \( -name '*.pyc' -o -name '*.ptlc' \) -type f -delete + -- cgit