add bundle:redis, add redis support to pretalx
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
ce76430b4d
commit
fd421bf6f8
5 changed files with 104 additions and 0 deletions
22
bundles/redis/items.py
Normal file
22
bundles/redis/items.py
Normal file
|
@ -0,0 +1,22 @@
|
|||
svc_systemd = {
|
||||
'redis-server': {
|
||||
'needs': {
|
||||
'file:/etc/redis/redis.conf',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
files = {
|
||||
'/etc/redis/redis.conf': {
|
||||
'content_type': 'mako',
|
||||
'mode': '0640',
|
||||
'owner': 'redis',
|
||||
'group': 'redis',
|
||||
'needs': {
|
||||
'pkg_apt:redis-server',
|
||||
},
|
||||
'triggers': {
|
||||
'svc_systemd:redis-server:restart',
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue