wip
This commit is contained in:
parent
d1bbfecbc9
commit
4e6071183f
2 changed files with 0 additions and 3 deletions
|
@ -7,7 +7,6 @@ directories = {
|
||||||
},
|
},
|
||||||
'/var/lib/redis': {
|
'/var/lib/redis': {
|
||||||
'owner': 'redis',
|
'owner': 'redis',
|
||||||
'purge': True,
|
|
||||||
'needs': [
|
'needs': [
|
||||||
'pkg_apt:redis-server',
|
'pkg_apt:redis-server',
|
||||||
],
|
],
|
||||||
|
@ -33,7 +32,6 @@ svc_systemd = {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
for name, conf in node.metadata.get('redis').items():
|
for name, conf in node.metadata.get('redis').items():
|
||||||
files[f'/etc/redis/{name}.conf'] = {
|
files[f'/etc/redis/{name}.conf'] = {
|
||||||
'content': '\n'.join(
|
'content': '\n'.join(
|
||||||
|
|
|
@ -153,7 +153,6 @@ def units(metadata):
|
||||||
'RestrictAddressFamilies': 'AF_INET AF_INET6 AF_UNIX',
|
'RestrictAddressFamilies': 'AF_INET AF_INET6 AF_UNIX',
|
||||||
|
|
||||||
'ProtectSystem': 'true',
|
'ProtectSystem': 'true',
|
||||||
'ReadWriteDirectories': '-/etc/redis',
|
|
||||||
},
|
},
|
||||||
'Install': {
|
'Install': {
|
||||||
'WantedBy': {'multi-user.target'},
|
'WantedBy': {'multi-user.target'},
|
||||||
|
|
Loading…
Reference in a new issue