Enable configuration of Systemd service
This commit is contained in:
parent
0eb0f907dc
commit
34a7951539
4 changed files with 24 additions and 11 deletions
11
templates/systemd/override.conf.j2
Normal file
11
templates/systemd/override.conf.j2
Normal file
|
@ -0,0 +1,11 @@
|
|||
{{ ansible_managed | comment }}
|
||||
|
||||
[Unti]
|
||||
StartLimitIntervalSec=6
|
||||
StartLimitBurst=10
|
||||
|
||||
[Service]
|
||||
Restart={{ mariadb_service.restart | default('always') }}
|
||||
{% if mariadb_service.limitnofile is defined %}
|
||||
LimitNOFILE={{ mariadb_service.limitnofile }}
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue