Do not override the complete systemd config
using the drop-in config snipper system, we can add configuration to systemd without replacing it, in case the systemd file is changed upstream.
This commit is contained in:
parent
8a9e586794
commit
9f3e44f8c6
3 changed files with 10 additions and 18 deletions
|
@ -23,10 +23,15 @@
|
|||
notify:
|
||||
- restart fedmsg-gateway
|
||||
|
||||
- name: bump fs limits by installing our own systemd service file
|
||||
- name: create systemd drop-in directory
|
||||
file: >
|
||||
dest=/etc/systemd/system/fedmsg-gateway.service.d
|
||||
state=directory
|
||||
|
||||
- name: bump fs limits by installing a drop-in systemd config
|
||||
copy: >
|
||||
src=fedmsg-gateway.service
|
||||
dest=/usr/lib/systemd/system/fedmsg-gateway.service
|
||||
src=fs-limits.conf
|
||||
dest=/etc/systemd/system/fedmsg-gateway.service.d/fs-limits.conf
|
||||
tags:
|
||||
- config
|
||||
- fedmsg/gateway
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue