Enable configuration of Systemd service

This commit is contained in:
phil 2024-01-21 01:13:24 +01:00
parent 0eb0f907dc
commit 34a7951539
4 changed files with 24 additions and 11 deletions

View 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 %}