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:
c297340
)
Redis is configured without pidfile.
author
Dan Ungureanu
<dan@ungureanu.me>
Fri, 15 Feb 2019 13:46:32 +0000
(15:46 +0200)
committer
Dan Ungureanu
<dan@ungureanu.me>
Fri, 15 Feb 2019 13:46:32 +0000
(15:46 +0200)
templates/redis.template.yml
patch
|
blob
|
blame
|
history
diff --git
a/templates/redis.template.yml
b/templates/redis.template.yml
index 084a489fcaf4c79c20fb543b0654ccf7bd4713e6..c69a7360d02594cd01b128d469a92abe80d6239e 100644
(file)
--- a/
templates/redis.template.yml
+++ b/
templates/redis.template.yml
@@
-5,15
+5,6
@@
run:
contents: |
#!/bin/sh
exec 2>&1
-
- RUNDIR=/var/run/redis
- PIDFILE=/var/run/redis/redis-server.pid
-
- mkdir -p $RUNDIR
- touch $PIDFILE
- chown -R redis:redis $RUNDIR
- chmod 755 $RUNDIR
-
exec thpoff chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf
- file:
path: /etc/service/redis/log/run