diff options
| author | Joe Carstairs <me@joeac.net> | 2026-08-26 13:51:09 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-08-26 13:51:09 +0100 |
| commit | 3765665e1087eecc248d33a9492d092bba1f3e1c (patch) | |
| tree | 8ea4de3f054f9cfd734e20e2c776daba83aa4b06 /roles/http/templates | |
| parent | 63f39b42818ee45a445db3ba761c5f6c7bab6aa7 (diff) | |
http is self-updating
Diffstat (limited to 'roles/http/templates')
| -rw-r--r-- | roles/http/templates/update_http | 9 |
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 |
