Skip to content

Commit

Permalink
Use rm -rf in remove-old-socket (#409)
Browse files Browse the repository at this point in the history
In some cases, the leftover socket is actually a directory.
  • Loading branch information
khannurien authored and SamSaffron committed Sep 28, 2018
1 parent 2791af6 commit ceffc44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/web.socketed.template.yml
Expand Up @@ -10,7 +10,7 @@ run:
chmod: "+x"
contents: |
#!/bin/bash
rm -f /shared/nginx.http*.sock
rm -rf /shared/nginx.http*.sock
- replace:
filename: "/etc/nginx/conf.d/discourse.conf"
from: /listen 80;/
Expand Down

0 comments on commit ceffc44

Please sign in to comment.