Configure restart control
This commit is contained in:
parent
5974bbdc45
commit
473ea5ceec
2 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,8 @@
|
|||
# Ansible manages
|
||||
|
||||
[Unti]
|
||||
StartLimitIntervalSec=6
|
||||
StartLimitBurst=10
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: "Cron | Create cron job for database optimization"
|
||||
ansible.builtin.cron:
|
||||
name: 'Ansible: Database optimization'
|
||||
name: 'Database optimization'
|
||||
job: 'chronic mysqlcheck --all-databases --optimize'
|
||||
special_time: weekly
|
||||
|
|
Loading…
Reference in a new issue