projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9473d53
)
correct template to remove old socket
author
Sam
<sam.saffron@gmail.com>
Tue, 7 Jul 2015 23:58:21 +0000
(09:58 +1000)
committer
Sam
<sam.saffron@gmail.com>
Tue, 7 Jul 2015 23:58:21 +0000
(09:58 +1000)
templates/web.socketed.template.yml
patch
|
blob
|
blame
|
history
diff --git
a/templates/web.socketed.template.yml
b/templates/web.socketed.template.yml
index ca3b29c0490c88c1c6781a2cc6546a7f9ee13d20..b8c615ff77feffdf3a1462cd51ff2f9710b8e10e 100644
(file)
--- a/
templates/web.socketed.template.yml
+++ b/
templates/web.socketed.template.yml
@@
-1,6
+1,16
@@
-
run:
- - exec: rm -f /shared/nginx.http*.sock;
+ - file:
+ path: /etc/runit/1.d/remove-old-socket
+ chmod: "+x"
+ contents: |
+ #!/bin/bash
+ rm -f /shared/nginx.http*.sock
+ - file:
+ path: /etc/runit/3.d/remove-old-socket
+ chmod: "+x"
+ contents: |
+ #!/bin/bash
+ rm -f /shared/nginx.http*.sock
- replace:
filename: "/etc/nginx/conf.d/discourse.conf"
from: /listen 80;/