summaryrefslogtreecommitdiff
path: root/roles/http/templates/update_http
diff options
context:
space:
mode:
Diffstat (limited to 'roles/http/templates/update_http')
-rw-r--r--roles/http/templates/update_http9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/http/templates/update_http b/roles/http/templates/update_http
new file mode 100644
index 0000000..354dfd2
--- /dev/null
+++ b/roles/http/templates/update_http
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+cd {{ src_dir }}/joeac.net/http
+git pull
+if make -q
+then
+ make
+ rc-service nginx restart
+fi