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:
317e1a7
)
FIX: stop logging redis logs to docker daemon
author
Sam
<sam.saffron@gmail.com>
Tue, 26 Dec 2017 22:41:27 +0000
(09:41 +1100)
committer
Sam
<sam.saffron@gmail.com>
Tue, 26 Dec 2017 22:41:27 +0000
(09:41 +1100)
templates/redis.template.yml
patch
|
blob
|
blame
|
history
diff --git
a/templates/redis.template.yml
b/templates/redis.template.yml
index 12b75d03bb132ccc247dc5c6e3792e39eddf513a..ab9ceb8a2279044cc83215d282b515372906e0d7 100644
(file)
--- a/
templates/redis.template.yml
+++ b/
templates/redis.template.yml
@@
-6,7
+6,13
@@
run:
#!/bin/sh
exec 2>&1
exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
-
+ - file:
+ path: /etc/service/redis/log/run
+ chmod: "+x"
+ contents: |
+ #!/bin/sh
+ mkdir -p /var/log/redis
+ exec svlogd /var/log/redis
- file:
path: /etc/runit/3.d/10-redis
chmod: "+x"