bundlewrap/bundles/redis/items.py
Franziska Kunsmann fd421bf6f8
All checks were successful
bundlewrap/pipeline/head This commit looks good
add bundle:redis, add redis support to pretalx
2021-01-29 15:58:54 +01:00

22 lines
425 B
Python

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',
},
},
}